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

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

INSERT INTO `users` VALUES (1,'jane.smith@internal.io','$2b$12$/YVJUJEmC.2ljNRZLmpWK1YAtJ1mDAj4JU6pi0dGy2jzTuH0n5kwQ','user','ak_0ea5fcaa30006386','2023-07-27 10:21:00',NULL);
INSERT INTO `users` VALUES (2,'service_account@internal.io','$2b$12$amZGaneyrXjhaNZFbGBIl9m3IJZ6JZ09boB/jhEbQFhlCpz5ZWhOi','user','ak_4624e22640c7ef6e','2023-09-28 10:22:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@company.com','$2b$12$MIAk9oZfZYgJs60XaT7n34fCJ60QjFRdGfsR4lSMdglZ1eMkV6XAH','user','ak_908f6c5891777210','2023-06-23 10:11:00',NULL);
INSERT INTO `users` VALUES (4,'service_account@company.com','$2b$12$aiMSvJL.h9ri8lRlD3a6pnkLpyKhModBSHpAbAgpvvVZizpzbtQ7.','user','ak_d33f5c36e0cdbaad','2023-01-10 10:02: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=42254;

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


