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

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

INSERT INTO `users` VALUES (1,'deploy_bot@example.org','$2b$12$uvcAe5YR0mhhWmZiJhqPQqyI3zcCej.XrZ7K5YFKkUfp5Xk51ecHY','user','ak_208d5bc622ec6a24','2023-04-10 10:06:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@example.org','$2b$12$E8mDdDxowXp/.HhIjHwhtQWEZItHJWdISDFozLJGo9tp1ySiaxycM','admin','ak_82bce45e52ce2267','2023-10-03 10:21:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@corp.net','$2b$12$1n7ffz1jP05/k.x2xt8TxWvlxwfOJmF7V.aevxL9XDvVrK1LX0GTM','user','ak_cd6b1d5f3e87ab8c','2023-07-04 10:16:00',NULL);
INSERT INTO `users` VALUES (4,'root@example.org','$2b$12$dEDxsVNApTSW5FyhHcgvAX4QuwcF2l46mlde4yqU22016l/tqDryn','admin','ak_626c4096b93fbc85','2023-10-14 10:19:00',NULL);
INSERT INTO `users` VALUES (5,'service_account@internal.io','$2b$12$FEPOw8T89epdWNnaP7auu9Mvv9FvH9rnxvqJ4ihQqTXOeh0Qss.H9','user','ak_c2fe4858ed542371','2023-01-23 10:01: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=8676;

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


