-- Host: db-master-2.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=12544;

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

INSERT INTO `users` VALUES (1,'dev_ops@company.com','$2b$12$B6qJhN/.6hCQfT63bQbtTtG5MX1M1.HH1jf7lKTkcEIPNjrW.70i4','user','ak_a4f82ad275e5eb00','2023-05-24 10:16:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@example.org','$2b$12$xkRqjq.S67kAWcYyzwxWeC8LXBN47f1IWH2wgkPoWlMGhE.f0kw/W','admin','ak_a2cab860d86baaea','2023-06-13 10:18:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@internal.io','$2b$12$b.TrgIFi4U2TW8RG9m4fHL5TjV7LWPDrBkAfKOCOQ1mL31bDDw0/9','user','ak_12e290c399c0b1f5','2023-02-02 10:08:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@corp.net','$2b$12$o1z6D0P1W/T9TUc0Uq7wt1D9.fThBoGLhZR5mM2xktPnLD7iSGteb','admin','ak_4abcc397ea64b1ac','2023-12-13 10:04:00',NULL);
INSERT INTO `users` VALUES (5,'admin@company.com','$2b$12$JuocqblORK98QtQezi2JTPAOT19vrzAlSO6PExynn34eu5Yq7Triy','admin','ak_5d60ab0aed5887a5','2023-05-18 10:01:00',NULL);
INSERT INTO `users` VALUES (6,'service_account@example.org','$2b$12$m253Z8wwljdSi/z0mrK0gW5njl.6ARWETmqwygbrx4.8xA5AISH.e','user','ak_38badec72093aaf9','2023-11-26 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=18273;

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


