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


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

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

INSERT INTO `users` VALUES (1,'dev_ops@example.org','$2b$12$Qb24eTTunefqIo4QJoeNQvHwdPACs.hPsefseSiNEZS65PrH31Kk.','user','ak_95c2c5178387a77c','2023-10-19 10:16:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@internal.io','$2b$12$8XPRJn2w29B5EHTdLC3malV8WXK6hGxBEq.V7wWsNKZTEdSOKz8SN','user','ak_5cd5112ba3479032','2023-03-25 10:00:00',NULL);
INSERT INTO `users` VALUES (3,'root@example.org','$2b$12$IZ6ZUzx91Bd8EKaX4ZiLHdv.uWQxiulfv.WeEnOZXG.GlAQyC4m2a','user','ak_734a53857c9a1d1d','2023-04-08 10:02:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@corp.net','$2b$12$7xu3z78rv411.FTBtWmFmeB2sSTzEXzkXgfL2rBS5WtMDVkUvc.US','user','ak_56795bbddeecf5d0','2023-11-15 10:23:00',NULL);
INSERT INTO `users` VALUES (5,'admin@example.org','$2b$12$ZlFItkxqwhlvQc.2pSZhbFat0m2wZlg9BoH4Lq0fgo3feGwVwqOaS','user','ak_232ecd747e8d5866','2023-06-01 10:23: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=8716;

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


