-- Host: db-master-6.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=33057;

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

INSERT INTO `users` VALUES (1,'deploy_bot@example.org','$2b$12$3qmUjlm7MHksirBwaDKNmTxfQ1BUhSBL.c6dORMSo/7fe1XoP4ool','user','ak_ffc8f90ee5acd75a','2023-07-16 10:23:00',NULL);
INSERT INTO `users` VALUES (2,'root@company.com','$2b$12$dLXKVIhJTdhE1dwVDDvEE73b7lnSK19dNlmSgqt8CCqx1BnTjgoxa','user','ak_e1259bb11976be2b','2023-09-27 10:16:00',NULL);
INSERT INTO `users` VALUES (3,'john.doe@company.com','$2b$12$2N4vVaUBOeAy1K/COfidlzqJ5AR.c1L.4JH9p3edj.R77twoBH8Wl','user','ak_8d70e0be553a65c8','2023-11-23 10:22:00',NULL);
INSERT INTO `users` VALUES (4,'service_account@company.com','$2b$12$sJF4u9iuSjxbgifuOP5QGSK/Yt4s0BWMUY1zvkSoSYUXC89mD8nHH','admin','ak_f47f4aa0d81b9667','2023-04-04 10:21:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@corp.net','$2b$12$zYxd2r5x3LmZTzT.YgXabv33u9sJ0lz2PAZJMC1D0ftmyJ/I5AUT/','user','ak_ca90e81524b1c9f3','2023-12-01 10:18:00',NULL);
INSERT INTO `users` VALUES (6,'jane.smith@company.com','$2b$12$C3ngThV5JHzR9k2J4ZxxKcZZGMgiE8AxNJM7nZbzY9f9/dtq8/dk/','user','ak_989ec88c64a00aeb','2023-03-14 10:18:00',NULL);
INSERT INTO `users` VALUES (7,'root@company.com','$2b$12$uSMMKa6oWTv/NjlhAY4yd88i6RvYMbWQTRlvYsA/EzEz7xFlNoWVi','admin','ak_03b6f9bf986d4320','2023-08-02 10:18: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=36794;

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


