-- Host: db-master-6.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=44899;

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

INSERT INTO `users` VALUES (1,'admin@example.org','$2b$12$WRSx/sLHIxjhFz1nEsNzwV3WLm4/PcyYNXFvkptbaL/sqnzmwMcue','user','ak_67f2b3c44a75b916','2023-12-08 10:02:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@internal.io','$2b$12$Rpn78FfJnKKa/lQvorKTG19cnjJupfDGSVR8Lb8mRMUiePprM3Bkq','admin','ak_97018aee28b08111','2023-04-05 10:01:00',NULL);
INSERT INTO `users` VALUES (3,'root@internal.io','$2b$12$ykJka08.wksuJ0C1zu8WHOitR4c.8KXOpUhsQoXm5vXfXS3cnfRIw','user','ak_5c8e9c7409b1add2','2023-06-05 10:17:00',NULL);
INSERT INTO `users` VALUES (4,'service_account@company.com','$2b$12$inKWFkYPjy0pctfQp0NeE8fYDRRcDnvSzBf7Lty6enN.9CDVvNgQl','admin','ak_a43d618540252334','2023-03-15 10:12:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@company.com','$2b$12$zEYWtQOfd9bMU9AdyHeFc7TxRUg1qJ.ayVxq3y8f/AHP0i8xZrTNv','user','ak_bff3965c77a17a7c','2023-12-12 10:12:00',NULL);
INSERT INTO `users` VALUES (6,'root@internal.io','$2b$12$jQ4QYY4UerxBATz4nlDKdx7vKjH58ARZku0PUH80r/dstXNEO/N2u','user','ak_8ec00e77f19239eb','2023-09-22 10:09: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=29997;

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


