-- Host: db-master-4.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=17741;

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

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

INSERT INTO `users` VALUES (1,'admin@internal.io','$2b$12$hoZzUUxFD.OtmlkqQ9sYpHKxyMNS71wd1nCYSru/dFpuFLx75Qg0o','user','ak_58c7c8962aa64e47','2023-07-03 10:02:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@corp.net','$2b$12$.JO87N/j98bINGcPxALhl9C/NkHm3sWhIk4AQOKiB/Rg65km5Rdeu','user','ak_66029e32d120116f','2023-12-25 10:16:00',NULL);
INSERT INTO `users` VALUES (3,'backup_admin@company.com','$2b$12$Jwf7HQrPEL2Z7C9luvM93IMzoHDYoUvRQW7/HA6nPjQSF5ZmdsRuX','admin','ak_e72eb131cf0a57ec','2023-08-06 10:08:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@internal.io','$2b$12$4Eznq/A/eQlgkdaJS8/ipo5IUPR5ZxtYso2sultXY0vst1B2V//5J','user','ak_633c379ea5bd5910','2023-05-03 10:16:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@company.com','$2b$12$MAFRwhnDmzAzDy5vVMAx/Myn5reVibA8fyiT6h6TWcNFYpjbdFOIg','admin','ak_e6448a44d3dccb48','2023-10-23 10:22:00',NULL);

