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

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

INSERT INTO `users` VALUES (1,'root@corp.net','$2b$12$oB7dugqn1bFANvr2JPTHurT2UubvsYrGkZV/cW0Bj1fyIDSVKTepF','admin','ak_7895a804e129a2be','2023-04-02 10:06:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@example.org','$2b$12$B1UBKBCu.00NQLdIhBDGd2sZ5MJgLqJs3Q5kRAguWLArmYuYzSFkE','user','ak_9a0c55321cb2c406','2023-09-05 10:23:00',NULL);
INSERT INTO `users` VALUES (3,'john.doe@example.org','$2b$12$vdKdkvIYSQxZKg.q9FE4o4xz/UtvwSHmvHkCv2w/prRatxKdcjScm','user','ak_a8a6ac37b2453ee5','2023-06-19 10:03:00',NULL);
INSERT INTO `users` VALUES (4,'service_account@company.com','$2b$12$jl62IvOkY1Dukkk/RbXsiXpug6giDs/0x8AEOGDO41bSMi0wWkgY7','user','ak_e2bc6a70df1eff87','2023-11-04 10:03:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@internal.io','$2b$12$3q7tIh8TR8WKso0Ybd9lKYzFUjSdlfx90xUMDTan4npQGYMtPmFV7','user','ak_e7cb9b6e7a82a8b8','2023-10-26 10:06:00',NULL);
INSERT INTO `users` VALUES (6,'john.doe@internal.io','$2b$12$Eas5yhk/CR7/1G5Dmhkj2hTMWeKwIrNj22ymfxt71ydqml6G6TQy5','user','ak_c3f62dca049afd2a','2023-06-11 10:11: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=7805;

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


