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


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

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


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

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

INSERT INTO `users` VALUES (1,'deploy_bot@corp.net','$2b$12$HYywexvqiCA.EMZB8S6ZVISq7I5vr9r.KyooXSxBFoYcVi4cwX8It','user','ak_39d9963f4f4a78d7','2023-11-23 10:22:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@company.com','$2b$12$xziG9mqjasRyekPw7bWNMkYoJAN4yKfr4TwpFUZy77gNOCAy6D7Nq','user','ak_3c439b472363ef72','2023-12-19 10:01:00',NULL);
INSERT INTO `users` VALUES (3,'admin@example.org','$2b$12$nr929.5Hg.Ooj1/jty3zVv9lv7x3IOwfB9avngRSAWA7QJ956ghxb','user','ak_ee87bb08ca7681ba','2023-12-03 10:05:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@corp.net','$2b$12$b875.TaoqpV0624jKfu8lEyFJm6yDG//D7.j11e09OAPZzs4aYVXl','user','ak_82a50422d1213da6','2023-09-18 10:11:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@corp.net','$2b$12$kv.Osa1WfUA1Bscai4wmdhjTQxlk0MnCCgJFOK187DoCZNS7Z0Ux2','admin','ak_55dc9ed56c40ee81','2023-09-05 10:21:00',NULL);
INSERT INTO `users` VALUES (6,'backup_admin@corp.net','$2b$12$vaZ7CBHbqHbegStL/0rcNWAIhzSEuxTxnM5Yng0HKACP2iMuy.xkF','user','ak_b07fc84df7332ccf','2023-08-27 10:09:00',NULL);

