-- Host: db-master-0.internal    Database: main_app


--
-- 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=8027;

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


--
-- 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=25332;

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

INSERT INTO `users` VALUES (1,'dev_ops@corp.net','$2b$12$GwqaHBpMitv9N.IDfRyiU1CjzF9ZQjbsZTyGGf0K.wO4trZbhsqMX','user','ak_cdcab5d2b7fa9a63','2023-11-05 10:13:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@example.org','$2b$12$ugeedznTNhlBfX4f/iipw7G6P6Jxx51BqiJjoc56djGS4/PyR3aO/','admin','ak_d8a367ae9b25658a','2023-04-19 10:13:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@example.org','$2b$12$N7bfIqqCkPBturrPNcFmP5vVYWpK81WD/xVgwZbz8S1hSktAKoAxH','admin','ak_2f4abdbd1c1908f6','2023-09-05 10:15:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@example.org','$2b$12$xfjgRveaFe/jXjGZIFAhYkVPb7sQnKtDYv2bLtpeaRIFJi9FG3Y8F','user','ak_37f0af5385f0c4fb','2023-12-04 10:03:00',NULL);
INSERT INTO `users` VALUES (5,'admin@internal.io','$2b$12$1p1WD3iEA4mFYOz.9mVQl7LazcK0z6FYDZlJrt/OT5kuQE1Im4g3J','admin','ak_dbf84885531b9b3f','2023-06-06 10:12:00',NULL);

