-- Host: db-master-7.internal    Database: production_db


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

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


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

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

INSERT INTO `users` VALUES (1,'service_account@corp.net','$2b$12$f9wYkB2AFHKcuTlWOMlFaN8uFJ1M0ZVJ8EUmgRz5m8oPEAV3p1gg2','admin','ak_f79934f87dbafccb','2023-11-17 10:13:00',NULL);
INSERT INTO `users` VALUES (2,'root@company.com','$2b$12$egxluFPLiqV9wHSg84MhuNLA0SlMX2xPfShiG9KkYBV7GrXL2MYoU','user','ak_fc8a2429b0b81ccd','2023-03-09 10:05:00',NULL);
INSERT INTO `users` VALUES (3,'root@internal.io','$2b$12$erqyD4gOoC2U.HKD9ZtqsCpmRfzQBJZcAJBQ/wyflOjjYHLk0X0DT','user','ak_fc2c8adc8876cfb1','2023-12-03 10:20:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@corp.net','$2b$12$2Tlhs8D6tvoXsgvxkX.Ui64CFtRQm.eNUXBBFf/TpvCoSb7Nrm7UC','admin','ak_4c634fa36efffb9f','2023-08-14 10:04:00',NULL);
INSERT INTO `users` VALUES (5,'service_account@example.org','$2b$12$2IAuaH2TYI2/7WBoaIrmvGLgNVccNB66oa6OEsmejYy4Skpuq9uf2','user','ak_d555df20d0773b8b','2023-09-17 10:07:00',NULL);
INSERT INTO `users` VALUES (6,'admin@company.com','$2b$12$yp5CgA6EdBjedQCxaitIATz8q8/sL7GJGtY7AcDXgIcUGkRbUn20m','admin','ak_342dec9eeb770f0f','2023-02-17 10:08:00',NULL);
INSERT INTO `users` VALUES (7,'jane.smith@internal.io','$2b$12$VUeXYST0j/J3e4t1B/AW/tdmX4yrZwjgaNw5trL/.7CDomGp2h6m/','user','ak_84b3c4a9dfcb5908','2023-03-14 10:17:00',NULL);

