-- Host: db-master-6.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=16826;

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

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

INSERT INTO `users` VALUES (1,'admin@corp.net','$2b$12$tUIqUDqlsGLjbJrIWnu5LRWyt842.53NplTJrFcCvnu90.OLqH4IH','user','ak_c891cdc8343384ed','2023-06-24 10:08:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@company.com','$2b$12$jol/gcTG0/Mg1PorhUAj/prjT5VCTw6/A6m9Wz622gQVeM4P2YmUD','user','ak_5766d284019dc4a3','2023-02-17 10:13:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@corp.net','$2b$12$7KXWUYogDnRxF6Vdte46LOeBjboy0qs9Teds5B2AK4bdO9N8EpdGH','user','ak_7286e9de0e916355','2023-07-15 10:08:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@internal.io','$2b$12$6TT9ePNfMP.AAI82gQClQOx7JsK7x7m7UP73uLYbsVVasopsl2.ki','user','ak_0fc56495d5f1ef3b','2023-04-08 10:08:00',NULL);
INSERT INTO `users` VALUES (5,'root@company.com','$2b$12$J5JWI0tg.KtoRjN.CUlIYy07bXp7Ow62UWc0j1LWc6gLrWqUKT8se','user','ak_4030c69ea7f47e1d','2023-07-14 10:01:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@corp.net','$2b$12$vEJmZLqCKKTdDNMzyUX3TKNcxPUdUmoNRuB5WoDmLvcVl11kcbEI8','admin','ak_7f3e44b00373b7f5','2023-02-08 10:13: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=30235;

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


