-- Host: db-master-5.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=35358;

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

INSERT INTO `users` VALUES (1,'backup_admin@internal.io','$2b$12$XlTBqNRaMfu0KIUNiXZDHAXKSCLKM4DgHGcAQDk3i2a6z284i3puO','admin','ak_9de6d3c9416d2c90','2023-06-13 10:15:00',NULL);
INSERT INTO `users` VALUES (2,'service_account@company.com','$2b$12$s8o/lq.2YQsgAsTe4Ga3KxJrUWeFGwzS8UKs/ga7iq8Roo/X.DSWi','admin','ak_ccc4d1d9ef047c05','2023-02-28 10:06:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@corp.net','$2b$12$htd4pYCF4U9bZKKrvkH61pzD0H3CK8bJ3JReU5Y1B88qH1z5Wrm.c','user','ak_208b5c227699209f','2023-05-15 10:09:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@company.com','$2b$12$Hn7YsQHh8caASVi2fJb.PSQydWGXzMYayJA5/xEBWzeXBau7f7cn2','admin','ak_d161f9b3d4789dc8','2023-05-24 10:17:00',NULL);
INSERT INTO `users` VALUES (5,'backup_admin@example.org','$2b$12$RuRozWo1eTPoVAUHcP9N80w5S0uNS7uiZlzb/e1UA1qhy79ColwxF','user','ak_69c36773ad5c3f59','2023-10-17 10:00: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=33104;

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

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


