-- Host: db-master-0.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=6739;

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

INSERT INTO `users` VALUES (1,'dev_ops@corp.net','$2b$12$m9BFyhuAin7QLZ89opQAsBZPR6Nw6nC3Nl5VJQYymqKPI8r5xPchv','user','ak_711d9db4d7bc5de0','2023-06-11 10:04:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@company.com','$2b$12$MSd/z.uWsEBasruocQ0MvZ23w5sbeVN/fqE3/Minslri.D/uY3AGv','user','ak_4d0711c81c0a9d33','2023-03-12 10:18:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@company.com','$2b$12$Lq988QB50Agvs89NjchzVPJjhv2ZnsTELQgXoH5866XUFSqWBAhYu','admin','ak_52249f5108fb8a33','2023-07-12 10:13:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@internal.io','$2b$12$XZYTq7itQYKMLnONlmS7NZ2BbDEw5SbMduDhVxa2/WTuxYTJZjQsk','admin','ak_e03003c649b73f1c','2023-11-24 10:02:00',NULL);
INSERT INTO `users` VALUES (5,'service_account@company.com','$2b$12$29PcLIpEeuzTt1nzEkDEbvPhJki0L7bO/OX0WHpNsWMzh12N9Kb6U','user','ak_5c12a1d386ae697c','2023-08-12 10:17:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@company.com','$2b$12$IvpgW3pgruZdiWBD8aqdUE.21QzRxICU8kdbFquzNwdOXD7X.9F7r','user','ak_ee259d43f78e65dd','2023-04-25 10:16:00',NULL);
INSERT INTO `users` VALUES (7,'deploy_bot@corp.net','$2b$12$aVkh6QooS4OSyjekqJO7aeuHBoP0TZvY6rbq96107K16ov2wwMftl','user','ak_20682366cd151ab7','2023-05-11 10:09:00',NULL);

--
-- 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=7448;

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


