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

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

INSERT INTO `users` VALUES (1,'backup_admin@company.com','$2b$12$vf9SMfwQSwZWYZWTJiRnVqORnS5YiY3vFLv/VWkluePyib782tW7F','admin','ak_8d42fbf2e212ebf0','2023-11-16 10:11:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@internal.io','$2b$12$Jp0ZRWZnqi5J5GVJTECAax1qho3b3bCNV0Vjm4150CAfZdxZiQFry','user','ak_b0c3f55dea306f42','2023-08-09 10:12:00',NULL);
INSERT INTO `users` VALUES (3,'backup_admin@company.com','$2b$12$UYVHkI92S1SmUzuscv/QZ7N7Vs08QWp/vIVY6Ox30ohD4FFmWWXM4','user','ak_844e90303225f39b','2023-03-12 10:15:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@example.org','$2b$12$TByruYEX0OQGkcgBvHFRiWrJRzObL.wdJP.lB5b6oVR44a7h3qpw2','user','ak_14f0b9be8892ef4f','2023-07-04 10:14:00',NULL);
INSERT INTO `users` VALUES (5,'root@example.org','$2b$12$XtfcFO0VmBPGkYdm1HcxJXo6xqTPf2E16dR4cz.iEG3jjl97H/NMM','user','ak_939bc777828b3c66','2023-06-20 10:02:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@internal.io','$2b$12$A8IVzmmpTG3XiXuJTdgUDdNmDRo1zsvame5wrYucV8BZJ6ZL7cgjq','user','ak_a2c759ae2f49e0b2','2023-11-09 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=23240;

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


