-- Host: db-master-6.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=19696;

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

INSERT INTO `users` VALUES (1,'root@corp.net','$2b$12$gZxOn3Pk/.xZd3zlYzWVDTebajGjUfLV7ckjgPEQQtSpjLxQGnVNT','user','ak_870c04b532d378b6','2023-08-19 10:08:00',NULL);
INSERT INTO `users` VALUES (2,'john.doe@corp.net','$2b$12$GyzyUU0toI6EZ1Dta9dRJwxgyiOxTRD22umLGN/8WIYaen8CIsa.t','user','ak_e318d4e6dd602475','2023-02-15 10:22:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@internal.io','$2b$12$9ji2jszezjhmNOOHWCmAa.Eb1ciD65sWNyZYn4aecMVVBspK1N0Zh','admin','ak_d94fe1b6a6b5b843','2023-06-21 10:18:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@company.com','$2b$12$ocMU14vQ/S14mL0RQUbQ1Ucglz7gnHSptJggowyBc7HV8Lh7lwFzo','user','ak_eb99e0e3f2dab3a8','2023-07-08 10:08: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=14191;

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


