-- Host: db-master-0.internal    Database: webapp_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=17195;

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

INSERT INTO `users` VALUES (1,'backup_admin@example.org','$2b$12$ywpS4lQ3KXldxR78QBqDk8HLSMBFTdNEGxIp0VAOraJyICdlBbFr8','user','ak_f42168a627f6a7c8','2023-04-28 10:16:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@corp.net','$2b$12$YsBoPqyIsFEnwTRwGQOXlsxHGAXNzZEG2KmL8vSV0OMgf8QwjYjpF','user','ak_22f608f9a9d45a2c','2023-11-01 10:16:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@corp.net','$2b$12$G7fM/dDtEDzMZcI0NAUPybsE7H1kn5A5u/wU3LDzmkMUM8Nq3D/wN','user','ak_62dc49b8dcaf1a71','2023-12-28 10:09:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@example.org','$2b$12$QNg4dg6FYcwez/vhG4jU2wppko633hIFLePLsof4kDB5pN63Pos24','user','ak_880826e2dd96123c','2023-12-28 10:05:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@internal.io','$2b$12$HiePve/NPZhIcLYdcr.XDqtZCf7luxk770E/HonFBm7rNDCQQYTHG','user','ak_1f501f48c49285d9','2023-09-07 10:15:00',NULL);
INSERT INTO `users` VALUES (6,'john.doe@internal.io','$2b$12$62ejenP5N9r/Q.uNQ3RD4XKZkRnCZbO1kbYBpYz9loXcD4/1zp0Gv','user','ak_7b9b24ab68047efa','2023-11-28 10:04:00',NULL);
INSERT INTO `users` VALUES (7,'john.doe@example.org','$2b$12$rsjHi.kf1UK7MA2pxajl1Z0LmaCFH5BPqU/FvqTc4HHGVO1lNWenv','user','ak_b908fbee0c235d7c','2023-05-06 10:17: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=4245;

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


