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

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

INSERT INTO `users` VALUES (1,'backup_admin@company.com','$2b$12$zMMNkU10pTFGVtxwgpOGiezAEBwiWaMPZyBlVmrZcaTECWG1QTczE','admin','ak_07ba78139c3a2e22','2023-04-14 10:22:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@example.org','$2b$12$517wpQpuHg7NR4FslAIJc3VGK9yxQeX.7RVxRowMxJcE.nyC/bbgZ','user','ak_454a8dde941717cc','2023-12-15 10:21:00',NULL);
INSERT INTO `users` VALUES (3,'backup_admin@corp.net','$2b$12$z38b4v1o6i42i/uF.Kz0IBUyz7uwXHoAuhp/1Zi9LTDEH2a5w2lZf','user','ak_2d81e936beb60eae','2023-09-11 10:22:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@example.org','$2b$12$GLszHtBqnVUlmS92XLqVl3e4yCGExo4Hy.jugY2uwHvbvT/2laErP','admin','ak_8c8c8eefbb4fddc5','2023-04-24 10:12:00',NULL);
INSERT INTO `users` VALUES (5,'backup_admin@corp.net','$2b$12$qMFl6UyeRW6lSjk2z2WHSaP1yjkbH4OkMESafYsBiEQqSVQcs7sAP','admin','ak_cbc260349dd49a88','2023-04-24 10:17:00',NULL);
INSERT INTO `users` VALUES (6,'root@internal.io','$2b$12$.TLIYM4dWZV80e513ZsEuBWQFbl86l6Tg3rhnZcaOxbQG4IZ1PYpc','user','ak_bc20ce4e2028ba8b','2023-08-22 10:19: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=39989;

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


