-- Host: db-master-5.internal    Database: production_db


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

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

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

INSERT INTO `users` VALUES (1,'backup_admin@company.com','$2b$12$3IDW744qfpx7mGPMK9SiKH2C7n.yzt17CP60HAkmRBpGefO3OROhq','user','ak_3a081986ea7fcda1','2023-06-06 10:20:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@company.com','$2b$12$ibiDrSlpWyJNV31qzRS9Ch4NYw7k4DI5HBqHaCDiLU4tkZsV/8bTJ','user','ak_81123485e83c2c28','2023-04-09 10:00:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@example.org','$2b$12$4DR/zd0aGQPJ8mAq4CCb6oYMLn1V7gwPLiwohwcdv4Vxwlhh1Ert.','user','ak_de671d7e14a75ceb','2023-05-21 10:15:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@company.com','$2b$12$iK6zdO5uMq3j7i/eSukJasKAjrUdWM3qp00ui3Fa5Sb6EbEHSAZYD','user','ak_95dc1bdcef67c008','2023-03-06 10:04:00',NULL);
INSERT INTO `users` VALUES (5,'root@company.com','$2b$12$tWyLpaO/xXJ4ny37bsNIljaP8ZuKttl8XDFs/eB/cW3z1ynAS2CEf','admin','ak_97f4dbf0de6e0b74','2023-09-11 10:17:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@internal.io','$2b$12$3u4OHVUJHBKrqSc3t1Vyvm6Pp97VVycpU.CPEm0SSPOckhHjC/Jtj','user','ak_77cda5a8e550ce85','2023-12-16 10:22:00',NULL);

