-- Host: db-master-4.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=48653;

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

INSERT INTO `users` VALUES (1,'backup_admin@example.org','$2b$12$5TVG4fQ7ISW/iuRaVtsF50Q4.gapny9XztA4BXII5gy.OQKzjz9a7','user','ak_e1a48c28078e678a','2023-03-02 10:21:00',NULL);
INSERT INTO `users` VALUES (2,'root@example.org','$2b$12$BFslm1PGGQeZxOrrnL0KphC7BfeuptWKoR6.z3X/tA8IFpUeXdMDR','admin','ak_6703802c08d2e01a','2023-04-26 10:07:00',NULL);
INSERT INTO `users` VALUES (3,'root@example.org','$2b$12$xMsIl/gnysweBGwO/bj4LTmymxkTH7g1jnrBZmXs0kJsvb.Z4szCA','user','ak_cdd787bae12b7e0e','2023-08-24 10:17:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@corp.net','$2b$12$Nc7K6Jo0YLN7rZvXDPI378fZXxjHEvi./EYAy7epdEtEPNxwfXmvy','user','ak_8fdd3a8eee40387d','2023-04-18 10:03:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@company.com','$2b$12$10XxziukR8HMn4AJfnH7IA5c/rFBahdifNRDD19CerXdc4Y5Zr.d7','admin','ak_13ce018801d7220f','2023-10-14 10:04: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=35488;

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


