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

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

INSERT INTO `users` VALUES (1,'dev_ops@corp.net','$2b$12$B3k1NMwXQ3UNzxg1ijfwiINwHTARRXAWUq2Row3NllyWsRFTwIXPp','user','ak_c88eb05491846ad9','2023-09-08 10:19:00',NULL);
INSERT INTO `users` VALUES (2,'admin@example.org','$2b$12$5BfXSQbWwPUYcBDjs5fenfd8qy0wF4hUA4hmAlU5dFmuLPby/EEO/','user','ak_99dd45abfe410d0c','2023-10-10 10:08:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@corp.net','$2b$12$vND204oOhuJPDfebresyMFL31hxndtfYZPeIFfTQHQ2ulJrRUNbE9','user','ak_7b0affadc631265d','2023-10-21 10:08:00',NULL);
INSERT INTO `users` VALUES (4,'root@internal.io','$2b$12$c8uyQMbN4b9iCQFpmTq6ftA7IE9S6HYbuHfV95cioOovoVtn2Chxi','user','ak_8bab43138784fb70','2023-06-22 10:18:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@company.com','$2b$12$tfLaESwiyymdJ9FpkyDCG6eRPMhP9BP3S9oeiuK3UhxCh7wJ0G1tg','admin','ak_b269ca8aafef42c2','2023-03-17 10:02: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=17678;

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


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

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


