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


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

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

INSERT INTO `users` VALUES (1,'backup_admin@example.org','$2b$12$kn1PrdCrPgNbFpdVAfbqrfbbD2ItJsxSRpE7mFKaQcMbiurbLEXDq','admin','ak_604df6abbf1e1c06','2023-05-24 10:15:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@internal.io','$2b$12$lNJAklYX0HoaM44UO0gMpBh9HgmcJRtj1yhhASb9RNFat0TxG9WW8','user','ak_539a1a64eb634016','2023-12-19 10:19:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@internal.io','$2b$12$6E8l4/rpabM3vlOE0mWBg8WIWBLMlOpTIzZAaDLU/kg/RDFEKQUkG','user','ak_2796668cf4dc36c9','2023-09-02 10:01:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@internal.io','$2b$12$c80vCy5DOMXPqCccT3vAuIlxVRClxa.oUfdsxO61zcqJ1TDiVvR0x','admin','ak_8296b622bed8b38f','2023-10-09 10:07:00',NULL);
INSERT INTO `users` VALUES (5,'john.doe@corp.net','$2b$12$yYhiy7J8ZImy60X.sGkUMvdoDHqFeA59ODAXqkLyu6Tf47JdFLthj','user','ak_9c5f9d6552eb5808','2023-12-13 10:15: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=2285;

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


