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


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

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


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

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

INSERT INTO `users` VALUES (1,'john.doe@example.org','$2b$12$nRpVhEfOVP7TtaNTEey.bg.3OU1UxfMj1BH/4EjLC8lgzZHfJvhja','user','ak_d961f2b7ab92a293','2023-03-11 10:16:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@company.com','$2b$12$GQqf4J3puPWF8SLYJdYlD3WX2TCZZA4VvPS8EF300AkBTIfiKEGZc','admin','ak_f6743b213c52b05d','2023-11-01 10:09:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@example.org','$2b$12$4.o9yz.DHG0uxAKYfXFoLgkmNNvQaMwcUa6aj3bgWp9AyKMQNNiSR','admin','ak_3b33e5c5142930fd','2023-06-19 10:11:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@internal.io','$2b$12$z1s./mIm5Qq.ibpTfgHglEmP1gyOPtuldA8hni.aWIhHoRxgX44uD','user','ak_71465a21e47892e7','2023-06-28 10:01:00',NULL);
INSERT INTO `users` VALUES (5,'service_account@internal.io','$2b$12$P5ukQf9bmSFLTamwrQKUlBwX9Nz.mCIlqDVePaYaVkzDFEFpVI/Vd','admin','ak_cae0c0383e4d181c','2023-02-08 10:10:00',NULL);
INSERT INTO `users` VALUES (6,'root@internal.io','$2b$12$BP8iYMt53p2M.JuNKvudEKWgcMoOQDZxfgW1aA4NtpVB5dq9xsK7f','admin','ak_59f1cd0e7304def5','2023-04-24 10:04:00',NULL);
INSERT INTO `users` VALUES (7,'root@company.com','$2b$12$ZF1DnjunppEOZvtGu9W/O/JCU5u2rEGL.CmyqJQ.5PFK6fwfyZic9','admin','ak_e4372cbcf29c68ec','2023-06-14 10:19:00',NULL);

