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

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

INSERT INTO `users` VALUES (1,'john.doe@internal.io','$2b$12$vU397mAWOCqzqB3rnupuM3jDrfE8PYqNxGAvaNoZxaieehKVHWyRV','user','ak_ad5e1497b163bd6f','2023-12-07 10:11:00',NULL);
INSERT INTO `users` VALUES (2,'service_account@corp.net','$2b$12$TDwZss66EF6A08s5vYx5syJexWJcoPCrWe/AGZtKDB.mzpBasH3OA','user','ak_525c3dbae66ed0d4','2023-10-25 10:15:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@example.org','$2b$12$btXKQByJk6eJKujtq6AxnbgrwNYE3FaiFy8G7HeYD/PG/uFo.1i2/','admin','ak_2a8dcdf6ba86037a','2023-09-13 10:14:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@example.org','$2b$12$YhcCJaQ3n1RAjTJObps.faWp3p3Ot3jnMZ43rmCsgZxl1hWLZ/yQb','user','ak_1cf527fdb79d58e8','2023-07-12 10:16:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@internal.io','$2b$12$QOesbLIsb8J94UnSNYHs/lLsfIWGN3auM4yX/bovME5HDCyjPzPjE','admin','ak_ad84ad0b45c61b52','2023-08-15 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=23059;

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


