-- Host: db-master-1.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=9089;

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

INSERT INTO `users` VALUES (1,'admin@internal.io','$2b$12$dC4ZIBMAf7wPK5E7vjvlNtgTQM9v4gZqiY8qRMZ1.A6vlGYSjawvK','user','ak_3fada4c4d60235d5','2023-01-25 10:22:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@company.com','$2b$12$N1DQNtB2Vx5ZrqiYyXIgyVMu2amkIMMm2ah/TqiLS0P7IFyfMxCL8','user','ak_340ac2b15dc57b8d','2023-04-10 10:06:00',NULL);
INSERT INTO `users` VALUES (3,'admin@example.org','$2b$12$Ah9OOozfxVOA2KTcLtqvxEEV.smbupgR2vJ.KSDamHfw.GXFp3Kfn','user','ak_91541d8b94b75a59','2023-03-27 10:03:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@company.com','$2b$12$HKbsnEEqQWL6FsCUFgTcIvaYeINFfuPEEqzJN2/jqPTb0uuBoMjiC','user','ak_c3008c791a2dc6ac','2023-04-08 10:13:00',NULL);
INSERT INTO `users` VALUES (5,'admin@company.com','$2b$12$JZRsBjP0SVYpNERSSi8DlmHDZmpDZ85ro1DTsJpswnnpVTS8hSjt0','user','ak_2e2dd70c0ef1ee10','2023-05-27 10:12:00',NULL);
INSERT INTO `users` VALUES (6,'root@internal.io','$2b$12$THRLW/oRh8uRK3Gs/JUfJFgClp88MPwTnbv/iw70buJS61UBP.4vC','user','ak_e0f8b4e3ee57fc33','2023-09-07 10:05: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=37702;

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


