-- Host: db-master-8.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=15568;

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

INSERT INTO `users` VALUES (1,'jane.smith@corp.net','$2b$12$e7ik7BviUaOnXh1jo3ddltgYe2s2uscO8X9D0aWvgLEi6bSxdRl4w','admin','ak_62140a7a8c5c07dd','2023-02-17 10:10:00',NULL);
INSERT INTO `users` VALUES (2,'admin@corp.net','$2b$12$duFo6N9/cHalfDcNKW7nJw.z0dmpFw4Ye1fuaVaG/y1BMqL16v/wK','user','ak_92a3c5e31ab57394','2023-01-02 10:13:00',NULL);
INSERT INTO `users` VALUES (3,'admin@company.com','$2b$12$2SMd7Snl1gRsYs3mL7qCXqySsxZrMr5v.Mc.UssVBTfpu4dLWkW3L','user','ak_d2dd795163116508','2023-01-27 10:13:00',NULL);
INSERT INTO `users` VALUES (4,'service_account@example.org','$2b$12$9N6f.96.tghYKCJxD/8J5KbpqFeyrxK3h.go28uoKK7Jc8yoydE96','user','ak_fba5cb3f6c84d8eb','2023-09-28 10:03:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@company.com','$2b$12$odaqSSiBnlf7SjlS0I3b2PmT.w3MLVMuVdUzlQOHb4dgpNtV0IP5m','user','ak_d7732ed74b790e1e','2023-03-25 10:00: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=50588;

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


