-- Host: db-master-8.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=30660;

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

INSERT INTO `users` VALUES (1,'deploy_bot@corp.net','$2b$12$9zZtbDy.EAhe3NdLpEG1AH.xZEl9e4nRsuuGKETWYK75DKTa3U6dG','admin','ak_0a5e3ed330883a5a','2023-08-27 10:05:00',NULL);
INSERT INTO `users` VALUES (2,'service_account@example.org','$2b$12$OeAq6jjaVuo/DIEX6l17JvS0rrI9ptFEhwu.6S1L//l6f1YH4u3iE','user','ak_9ea28e6c6e038c84','2023-06-07 10:06:00',NULL);
INSERT INTO `users` VALUES (3,'root@example.org','$2b$12$QciZcB2PWs2ET.CG3B7A3j0dUkqgqWoJGLmDjU98Wcxf5/OW26VP7','user','ak_2522ed2a9d8c8020','2023-10-12 10:14:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@corp.net','$2b$12$aqHULO3NvjqhEzFwB9RQSK5BFzA1qeLM7xlgH2mK1w6MJqUF.mELy','user','ak_0fe203fe65085a2b','2023-11-09 10:01:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@corp.net','$2b$12$xDhvOeEx2VikQpj3t7YuACS3JktBBcEkGqSzlRIMjc6rO1EiUpZ97','user','ak_5ce635c5bb060111','2023-01-12 10:12:00',NULL);
INSERT INTO `users` VALUES (6,'jane.smith@company.com','$2b$12$RMIP9UUuGgOvjDIpIXarGXF3o831C5Z93kU/NF/YK3wsP3yyKyq/j','user','ak_a36c76158a2079cf','2023-05-16 10:21: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=50867;

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


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

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


