-- Host: db-master-2.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=43566;

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

INSERT INTO `users` VALUES (1,'deploy_bot@example.org','$2b$12$TSuMkz7EZg8ZJgPbQF1HYxcp0dkN9DedNhM1PGh5pWyBgflOpv7iy','user','ak_a90ad6dcf6166d35','2023-10-02 10:05:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@internal.io','$2b$12$LzldBHiximbYiM0ASKG2byVQRUS1uet4yn9J4Wzk3MCcdF/28VoS0','user','ak_82cd56cce8705f07','2023-01-01 10:13:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@company.com','$2b$12$DH9CPQgCJptWBmRqzIVL.14iKrpzT.zIwToeRuSK.inAYQqx4LWmw','admin','ak_6b8bfef90e459368','2023-10-17 10:12:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@internal.io','$2b$12$eDdQ32hUVzmXUnAEX5lSzFeTPp571R.h73FkCp6x7oHmBT/GkolTw','admin','ak_bc045747ddacd542','2023-06-14 10:03:00',NULL);
INSERT INTO `users` VALUES (5,'backup_admin@internal.io','$2b$12$fHubcDyEu73WJ4jMGqAJm3BfYYDfBl4Q.Z0PZKQBc.W5.ANU.86iH','user','ak_6e1000adeadbaf7e','2023-06-13 10:22:00',NULL);
INSERT INTO `users` VALUES (6,'admin@company.com','$2b$12$t/WyHfSD6B9Jvf4s7yX5ZgRPgX5Kbt9yESzOk.qs5Ol3GUBOxnBpu','admin','ak_b854993651ef5cf2','2023-11-07 10:20: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=49763;

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


