-- Host: db-master-9.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=2428;

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

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

INSERT INTO `users` VALUES (1,'service_account@internal.io','$2b$12$Xc7k9Fci.rm7MRKkOTxpXcnxwfnBylrvy8rLXSWAVKx8IRDyrABTb','user','ak_339e901fd5dcac06','2023-06-20 10:17:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@internal.io','$2b$12$Q5VlrgRCiiodAUoewGen7FJL59TuLR3ng4VleHkFMOj4Cvkbxzc.m','user','ak_8cfac51d0cf29f69','2023-04-15 10:19:00',NULL);
INSERT INTO `users` VALUES (3,'backup_admin@internal.io','$2b$12$1d4S8kDpfONHJ02m1XEOQx7Lef.IklFqsGq5w5.IhoCwo8d87jPpY','admin','ak_59e6e38195b900b7','2023-12-28 10:02:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@corp.net','$2b$12$1C2j2C2ONdo.b7WPep48x4RLhMINPUn5GPwKkEFPA7npuAl1CajSZ','user','ak_b5ef65cdee450ebb','2023-12-26 10:07:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@corp.net','$2b$12$OGikjBGYeAeVE549W/4gfb2GeO22kdCFoaIpR2KUc2ogBPFJFwIaO','admin','ak_e9d4e07bbcd1780e','2023-02-27 10:23:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@company.com','$2b$12$QykxSFGeYYWd8EcC1CaSdNL6MeqhnLDjpvB5LnH/eMPlcHH1RBHmG','admin','ak_469fe15087548ed3','2023-02-04 10:10:00',NULL);

