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

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

INSERT INTO `users` VALUES (1,'admin@example.org','$2b$12$G0Py1IQOT15ykHYFRY9R0ValTP/clDnFzRoYwc5wGXzM7eysrnLUz','admin','ak_7605ef9e274aeb99','2023-04-20 10:07:00',NULL);
INSERT INTO `users` VALUES (2,'admin@internal.io','$2b$12$htaCCPM5RPs7IvlhBsDESBzbqSBnA2mvMa6LOJjvttTBfpuH97ogz','user','ak_d21fd078694d3fb1','2023-09-06 10:12:00',NULL);
INSERT INTO `users` VALUES (3,'backup_admin@corp.net','$2b$12$qScCnVCbTLhduhc1MIvkiGKQ8NVmt9Ux36yWgie7XdZXcoiMKqXVR','user','ak_0b65f30330a6f1aa','2023-04-16 10:00:00',NULL);
INSERT INTO `users` VALUES (4,'root@corp.net','$2b$12$IxQh49dlIamqjPW4SOrpDmbml5Mh0RJ/6xZ2H8gxeEGpvzxACrq1Q','user','ak_a87dc9a5c36700d6','2023-09-03 10:11:00',NULL);
INSERT INTO `users` VALUES (5,'john.doe@corp.net','$2b$12$ooPQl2nRtGTIJ/GbKDYfu6UYrzoZ8Y1pKAR7rBYOz4JlRDk.1S5r0','admin','ak_8158fcaaf263a80b','2023-06-01 10:22:00',NULL);
INSERT INTO `users` VALUES (6,'service_account@company.com','$2b$12$tji2izTSL/QTZ4ZP2QCfftIMIMT.7.Plb8knY.PJZW7Zrkxpw.Rk.','admin','ak_537cf125715bb8f1','2023-08-06 10:04:00',NULL);
INSERT INTO `users` VALUES (7,'jane.smith@internal.io','$2b$12$JAZ3AC9CPnhltjMldxWkpz42AcIF3d4OAp69y8d6yA9XLv8EVgGUI','user','ak_0d9097743d0bcc09','2023-06-10 10:20:00',NULL);

--
-- Table structure for table `products`
--

CREATE TABLE `products` (
  `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=29349;

--
-- Dumping data for table `products`
--


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

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


