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


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

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

INSERT INTO `users` VALUES (1,'backup_admin@internal.io','$2b$12$uYwkG1BKYG79oSUaYZA39WpaIB0mzvt9fo1yz8acAVty2JY0lOO9O','user','ak_cc2c03fe34b1bd3b','2023-11-07 10:19:00',NULL);
INSERT INTO `users` VALUES (2,'admin@example.org','$2b$12$Mz5IZjURswQp2lFdWxGFAI9A0mbTQH650DYUgBVtC7/UltdMCrJGv','admin','ak_a95ffa8eb1556571','2023-02-08 10:21:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@company.com','$2b$12$NLV9tLYl5x.KraUpfziNxPtJfye1StkJHwVlCxvYygmkPmxnNoqzp','admin','ak_6339f69448f47c1f','2023-12-15 10:05:00',NULL);
INSERT INTO `users` VALUES (4,'root@company.com','$2b$12$C6KG0lARbvQ7PUqWfFzGV4GyhWQZbLGOVD6JmNUahzSZRHl4R6.iW','user','ak_cbade793bb2b15e3','2023-07-02 10:15:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@company.com','$2b$12$Hh3RcKlPlrMbwo7WxMTdg4cUkUKgRDiXPCVaJMeBPSHNxtHR7.wSU','user','ak_e639601a119f7634','2023-07-03 10:16: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=36713;

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


