-- Host: db-master-0.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=44180;

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

INSERT INTO `users` VALUES (1,'service_account@example.org','$2b$12$VzfdEM02oHyMOt..vSNYY9GTwIhwqlsF.Lg47xsWdLCMYRO6LqcGY','user','ak_b8c958d6946062ef','2023-08-18 10:21:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@corp.net','$2b$12$D1bPUpJX6W5PdkZ1GkNOdp5OjRm9I7TLbiXnIVzIp8wHfkzWhhttc','user','ak_c9a85b9abeedcb0a','2023-05-15 10:04:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@corp.net','$2b$12$hg8eXfV1ZfFxl86cJamjFrkagVlzrgmfo8lb7dt8DOm4bM7oxxRN9','user','ak_b52e1ffea4879aa1','2023-01-19 10:10:00',NULL);
INSERT INTO `users` VALUES (4,'admin@corp.net','$2b$12$BsR0wHekFBaUfXYRWoi2z4xhXAfHX3uPXs6UvhaogeWv25RtTYlHr','admin','ak_0d668ba80cbbd9b3','2023-06-07 10:09:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@company.com','$2b$12$SkSdYqTsN.wEYmzuSstRavb75kbYf6ZhDj.qBvAwW8krNEnNq1i5g','user','ak_77dd43e0a5e33a39','2023-11-12 10:16: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=17730;

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

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


