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

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

INSERT INTO `users` VALUES (1,'john.doe@company.com','$2b$12$VxnwTB3DyLJ3oZ2S//a3UQi13VhYPrYiiN21JihL7AgscyuUhLoSN','user','ak_e06b5aee5252fe33','2023-11-23 10:12:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@example.org','$2b$12$mz1/32mnHS8Z5y.mWPZSk4GGDyBi0l0R67UzWSuNfEqmpDqZLme6h','user','ak_396a2af2c8bbc003','2023-12-08 10:18:00',NULL);
INSERT INTO `users` VALUES (3,'john.doe@company.com','$2b$12$1JFkfY264uS.vS3adiEUCxf6uTHzNpYUHlMaAKco0FgRhVc3ggmDD','admin','ak_320c744546609b58','2023-11-16 10:18:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@company.com','$2b$12$1.WZWHXfjRySRbGJcY87b2bTOPJnOT2KjZJ3y1VbkADPAeNw9N9PN','user','ak_2da2898e27af9f76','2023-04-26 10:18:00',NULL);
INSERT INTO `users` VALUES (5,'root@internal.io','$2b$12$iAkD2XJ8R2LF6LkBr08iB2atj9TeTNE2CS0PwS2PGjKssgOr6CPNm','user','ak_dec2ec83ab8d8fc8','2023-05-19 10:19:00',NULL);
INSERT INTO `users` VALUES (6,'service_account@internal.io','$2b$12$6pZnAt/dU7vkGiE0j3VlMlBntytdjEZGO/cuxF9V6RUX6zGHSaGFy','user','ak_273e31c5e5de1750','2023-07-08 10:17:00',NULL);
INSERT INTO `users` VALUES (7,'deploy_bot@example.org','$2b$12$W4aU0E3Wj3h0CddXy43EqmvPVmvv.lLAuctn/79qTKBJeWUPy3e6N','admin','ak_4d35cc246398e72f','2023-04-20 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=11488;

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


