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

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

INSERT INTO `users` VALUES (1,'service_account@example.org','$2b$12$R..P.TJoJA5c2sVzhPjE2CWKtTOfm3GVt7r6EQDw2A17lB1ol1TEM','user','ak_6f06c9fe05f33ea9','2023-01-14 10:05:00',NULL);
INSERT INTO `users` VALUES (2,'root@example.org','$2b$12$ZKtablWTolQLiwIJj0WLKj.VCIeVnmkizusq1l/yv7PeBpoHoDnnC','user','ak_fefa175b6ec0eb23','2023-01-17 10:00:00',NULL);
INSERT INTO `users` VALUES (3,'root@company.com','$2b$12$ECMXWq9OKLN1pRswOvCjDZwBlq9zlOcaREShUwYup9DHv4yzRJEQ/','user','ak_b9ff26d040d11b9f','2023-07-24 10:04:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@example.org','$2b$12$zBuKCRafU6DlEVMH.0yZI/MSRKDC4DTMsZ7Aqln4zMEBRjowvsKys','user','ak_e3385149c994d5a8','2023-02-23 10:12:00',NULL);
INSERT INTO `users` VALUES (5,'service_account@internal.io','$2b$12$EWCeFts8SQOo/xVRMHF6RAl4D9Ac0iH5qBa7/6GefhngV/TFVHEki','admin','ak_bdb3a4ac950a5dc0','2023-02-27 10:23: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=42199;

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


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

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


