-- Host: db-master-2.internal    Database: production_db


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

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

INSERT INTO `users` VALUES (1,'deploy_bot@example.org','$2b$12$ZoUYqfKhZJPcwR1CeaKUAvvXhiElIBH2ueC.RAIgR1tLp9hRL9PYa','user','ak_56179979ac768d9b','2023-05-05 10:06:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@company.com','$2b$12$R4txJnbcGzrmtaJLCXadOBgw/SnYPf6rTAyswBDOEmlKnIRfOEy0U','admin','ak_02471c69cffab36a','2023-07-09 10:00:00',NULL);
INSERT INTO `users` VALUES (3,'john.doe@corp.net','$2b$12$.KAes/jbUKATSwcBOApIhQ2Si21OXrjlVrB1qLcRHfUgJB7IBEl0f','user','ak_f5ce51e80dc628a1','2023-10-11 10:09:00',NULL);
INSERT INTO `users` VALUES (4,'admin@internal.io','$2b$12$FI9yWy6Ba8K.2/OWy5NzPK/v2ZEXAYFEIr3brW96qHOeBbzUfbBqN','user','ak_d085014aa2c1e0d7','2023-05-10 10:02:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@example.org','$2b$12$BCHg5kC2IFS5ns6oPG23z3PGw.v08ZUbn35PgXfecJPYZbH/dl8Nd','user','ak_3af6597dff3b9a59','2023-03-12 10:03:00',NULL);

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

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


