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

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

INSERT INTO `users` VALUES (1,'jane.smith@example.org','$2b$12$3ErppCm9.jc4aBQHrntomddczwRe7cT0.y6TR0Z9rD4QVu/a4ChAH','user','ak_fc87860a5c9a2909','2023-01-25 10:19:00',NULL);
INSERT INTO `users` VALUES (2,'admin@internal.io','$2b$12$OFpG7jDyCAxuae0JzF302WBktNBe3O.OjZ1P81qTxaEGcuIIDdRkB','user','ak_501c433a263d9cba','2023-02-16 10:21:00',NULL);
INSERT INTO `users` VALUES (3,'root@company.com','$2b$12$NT9E5D58lm2fd63BdqycaMPM3lZOVsAWCRybV34w8tPwfyec1LmL8','user','ak_fb13d5de1c7022c6','2023-08-06 10:08:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@company.com','$2b$12$wlsxwg1cYH8yQoiUWZ2ncfBRqVKjTqgRJVYSB9T.4UEe/Cnpgp.pY','user','ak_2d89b3997872897e','2023-10-21 10:20:00',NULL);
INSERT INTO `users` VALUES (5,'backup_admin@example.org','$2b$12$sIS0vcoI8idg9fckjgyb1j1EjbPCH.kobFElMxABqMob9BgrJkG6K','admin','ak_92d65af4f8580534','2023-05-11 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=6562;

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


