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


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

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


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

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

INSERT INTO `users` VALUES (1,'jane.smith@company.com','$2b$12$QsEkKLVnoeN3Y4DxF/z9PCwlvIR.hnT.t7kS3ojzVGzfW.MB7aVg9','user','ak_1b1bc4038f0141c1','2023-08-03 10:23:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@example.org','$2b$12$.5hE8Y/LbDvC6odJ3m8.ES5yCLtOpBb26sttYSd5Cx5ys2LWeq3he','user','ak_1dade8b5c0f7e68c','2023-12-25 10:06:00',NULL);
INSERT INTO `users` VALUES (3,'john.doe@example.org','$2b$12$5cvl6X51W53u0OHrsGSdcHB3XV9GSJ1S/uhwAi2wJ5xfolYCG3gni','user','ak_cf932a68d36aa899','2023-12-09 10:20:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@example.org','$2b$12$OyyZ9o1dhJoBRl83Hs2yoRpREApieHsmCE0Tza5ZDPU4HS2jGzZBg','user','ak_6ce33d55a8a784a2','2023-07-02 10:12:00',NULL);
INSERT INTO `users` VALUES (5,'service_account@company.com','$2b$12$xV1ayOY4zgmMAZYXdW6YQ/Xz6ksxOlIHHSzlmOKxHgc5JWFHW1k5d','admin','ak_1a9ab058d307fc00','2023-06-10 10:03:00',NULL);

