-- Host: db-master-3.internal    Database: customers


--
-- Table structure for table `users`
--

CREATE TABLE `users` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `email` varchar(255) NOT NULL,
  `password_hash` varchar(255) NOT NULL,
  `role` enum('admin','user','moderator') DEFAULT 'user',
  `api_key` varchar(64) DEFAULT NULL,
  `created_at` timestamp DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=3896;

--
-- Dumping data for table `users`
--

INSERT INTO `users` VALUES (1,'backup_admin@company.com','$2b$12$xEMjpgQRa1KTlphQjLSZSIkcTNHTmGDPqR0ktxL4h908mcvhQaOu1','user','ak_726c819ab1d42014','2023-01-06 10:22:00',NULL);
INSERT INTO `users` VALUES (2,'admin@internal.io','$2b$12$zGLNq4zEolVT5DQXk.Y4hlLLJhGTywctPHLlzvv1w8kKlwfCGPznE','admin','ak_d6866d050e1abf84','2023-02-23 10:00:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@internal.io','$2b$12$DsjWKdpCzbXFSw0szm8XnTZ6/fGuh/XAv1YPJskd3G6.ernX18P.W','user','ak_db38dc1c670b2268','2023-09-18 10:01:00',NULL);
INSERT INTO `users` VALUES (4,'root@company.com','$2b$12$7hUw18fahuTdf3vuZPytgN/36ZLK4bTr3ItkXzY65Tta0kUio0eRV','admin','ak_db774e590ab34695','2023-12-20 10:06:00',NULL);
INSERT INTO `users` VALUES (5,'root@company.com','$2b$12$KiY/cT.IuGusNv64FnpiLPkNhctb1M1kXj6fgz5xrVuq0MUEETj5/','user','ak_916873d25f41a94c','2023-03-15 10:07:00',NULL);

--
-- Table structure for table `sessions`
--

CREATE TABLE `sessions` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) DEFAULT NULL,
  `data` text,
  `created_at` timestamp DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=6087;

--
-- Dumping data for table `sessions`
--


--
-- Table structure for table `products`
--

CREATE TABLE `products` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) DEFAULT NULL,
  `data` text,
  `created_at` timestamp DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=14744;

--
-- Dumping data for table `products`
--


