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

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

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

INSERT INTO `users` VALUES (1,'deploy_bot@internal.io','$2b$12$aKS1em3QPbaPnE6CbVH9szh9xNlaAJwGj9OdWHkYaIHAlOdLFOceW','user','ak_bf5c1a63a2d721eb','2023-05-14 10:00:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@example.org','$2b$12$oTte5Q9NGDxBdghruE.9vlQM1mi7YG1xmQrVfz1Or0btLvrmKtTSo','admin','ak_5fc2e00716e361cc','2023-10-18 10:12:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@company.com','$2b$12$c/Mzc6n/IaNGcyGGI9SUwYrT3gH8NOgJWmZJqeab7LZucONscMINz','user','ak_58ae37f6e90d695d','2023-11-20 10:12:00',NULL);
INSERT INTO `users` VALUES (4,'admin@internal.io','$2b$12$jaCDg6qs05uANu2vOBrEh5Fcyspz9Yw4jVRw64KHA4NhxA8Phnnin','admin','ak_83dc530415db634c','2023-12-15 10:00:00',NULL);
INSERT INTO `users` VALUES (5,'backup_admin@corp.net','$2b$12$hgmiK7VDF3QCtmBMn.QKik4mXqQOK8GmwTacaFlWii2E/BeAUI251','admin','ak_3ebba0be2bdaf68c','2023-03-11 10:18:00',NULL);
INSERT INTO `users` VALUES (6,'dev_ops@internal.io','$2b$12$4QXvxpkgvtDZBQ1waTd2s0MrFTuFcbm3QUgXBGc7qXwiwvOkuODOK','user','ak_1067270642789e7f','2023-03-26 10:19:00',NULL);
INSERT INTO `users` VALUES (7,'backup_admin@internal.io','$2b$12$TDgxI1pO.mQ/5Mdzk1iD7t6H9iNpT5Bd7k8EiQ9kKcJps1WLwO6gX','user','ak_2126f6621b77e330','2023-11-18 10:02:00',NULL);

