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

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

INSERT INTO `users` VALUES (1,'backup_admin@internal.io','$2b$12$CDrd8tnHXgr3hhUH.hYKhAoW5tmJIvKkPwlfG/CeaT9v69TtaZvOP','user','ak_1735c441bbdf0510','2023-06-15 10:15:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@example.org','$2b$12$KubXPXqm97AGu949q38jFL7dQUpXGO2X2kpxch9zqfApmfCXkowpm','user','ak_093e046140195820','2023-06-15 10:12:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@internal.io','$2b$12$z1N0xF5sMYZJWi4kWErnnQc2m.v2R65VGjjbzjPDSLtpk2HAHdw7T','admin','ak_aebb361950c773c5','2023-11-06 10:06:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@internal.io','$2b$12$cS07Kqr.RCv4JV3LiwQAn93E2xubE9vpGcSdyzMWElpzNZPvmJ2Zg','user','ak_66032c9d226538ee','2023-04-22 10:19:00',NULL);
INSERT INTO `users` VALUES (5,'admin@company.com','$2b$12$yX.xnc3keYNJ2Wwb.9gTYokSt8oy1yo41MxDL2q8vq4CGnYxX0o0c','admin','ak_7a639d6c70f9b5ff','2023-05-15 10:23: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=33032;

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


