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


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

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

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

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

INSERT INTO `users` VALUES (1,'john.doe@example.org','$2b$12$VU/U8SRRuhOG4p.kfzt5tZdUUYuG0Im6DzHEIz.RzxESelXu/ysNB','user','ak_c172ec9e4a905391','2023-10-05 10:15:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@internal.io','$2b$12$YKc5.wWearJoEhCwNaWeQkF0fS2m7D62oUN1M1wELBL53g1RjQjN8','user','ak_464f41ce16373dea','2023-09-05 10:15:00',NULL);
INSERT INTO `users` VALUES (3,'admin@corp.net','$2b$12$L.mp1KnozEbK.W0fgGIyYOrjIKUZIQuI3oD.ZOj4yvtQHgxzari78','admin','ak_f7ba182c4ef4874e','2023-03-20 10:13:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@corp.net','$2b$12$W5GK83OQz.DudIE7YPLKPReUH7d3RPn/s5hmI/3713RlYGcTJX6Bn','user','ak_9edab504204be6c0','2023-11-13 10:05:00',NULL);
INSERT INTO `users` VALUES (5,'admin@company.com','$2b$12$1WvvVYHltN84I1O7swIWDnCEfv9aVXHIhudPmdXFBx.VWOg49ehzX','user','ak_17106d4ac44aeb97','2023-08-04 10:04:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@internal.io','$2b$12$EZEco1WmMeumEEPkCuGDWfIkm0gs/.VBCqRkHPUVrHVgOnbmxpLa0','user','ak_f38bc4ccf03ccc1e','2023-09-23 10:07:00',NULL);

