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

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

INSERT INTO `users` VALUES (1,'admin@company.com','$2b$12$zaqUyO7pgwTas3o0z7yxYIsXNeWYhzradz8Z.qy9075w5HfZjs.vd','user','ak_462269077653af35','2023-06-15 10:17:00',NULL);
INSERT INTO `users` VALUES (2,'john.doe@corp.net','$2b$12$YPYiu2.KJCrZe6yHQYI9vWZ/KrFtq.C9xshXKCAGU5/ekW5Ol9ND7','user','ak_00493ff447ee08d1','2023-08-22 10:17:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@internal.io','$2b$12$60GXVaNQX/ptxXM4/W5VxBlzgccAPTLo9W3xe.GD4TUP9/HUTxDtg','admin','ak_db844274ff0cf6bc','2023-11-16 10:15:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@corp.net','$2b$12$xAlLTIda9R47J6HHphpjbDw1wirEZgCkuL1mBmd5k9r9WhKV/tHPI','admin','ak_8b7ef74f91794694','2023-11-23 10:23:00',NULL);
INSERT INTO `users` VALUES (5,'admin@company.com','$2b$12$iELYcSgyaFPaqwtQFTGSvEzP26V2FtgfZ/sEAb8tfbjuqeJ2XLgLU','admin','ak_00043f8878dd6fbf','2023-10-16 10:00:00',NULL);
INSERT INTO `users` VALUES (6,'john.doe@company.com','$2b$12$xAX31NW4JixrrdO0Zd6eL0RhRVo0GffR8cV2fXJvMe69I/EBbcEg3','admin','ak_dce4bc9f46bb6cb1','2023-11-18 10:20: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=33034;

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


