-- Host: db-master-6.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=48233;

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

INSERT INTO `users` VALUES (1,'admin@internal.io','$2b$12$S9RfX0n2XjHqZPVI80a8fqdMxy5YLpoAIIV4DkHPnkDku0IDdLJE.','user','ak_5f754e9f51d00454','2023-05-24 10:14:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@internal.io','$2b$12$j2E1bnOUvyoBKwSr1BjsznLj8WpwXsV.gB7sZLUGIWTPLinpgHuOV','user','ak_db8206aa555197c4','2023-12-27 10:14:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@company.com','$2b$12$TiJ1QbrrkGvZBkpxtF3DcDvQ6yRQyoBh2WWMKsXIGoZ6e27MeD2VL','user','ak_fb8aee2753fa08da','2023-04-17 10:10:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@company.com','$2b$12$.EMAONeDF4Nf6.QgQXJIzYX4N2/W8OwaGBq/P/awXihSsQoUWRhxP','admin','ak_d27e85eeece54adb','2023-04-25 10:20:00',NULL);
INSERT INTO `users` VALUES (5,'service_account@example.org','$2b$12$h408DztSX7sJtuULDkjCPl98XDBKgFTV/Ka9MQV1i/4/zE2ZHTc/B','admin','ak_e5872d6b5de188b6','2023-12-27 10:22:00',NULL);
INSERT INTO `users` VALUES (6,'dev_ops@internal.io','$2b$12$h5ksfBii41cMCoVZhN6TCGZHj7eAtOjjcLVw9.D.zwiIzhgiwTvON','user','ak_7a4e2c18c93da1c2','2023-07-19 10:03: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=11177;

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


