-- Host: db-master-9.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=31032;

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

INSERT INTO `users` VALUES (1,'backup_admin@corp.net','$2b$12$JAeOT6TGRhGJAuPO4H.ee4gYhYGN7MwjhJz5oE4QExr9RL6zpS3CD','user','ak_4b12c8aac3a267e2','2023-10-14 10:17:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@company.com','$2b$12$nWJIVUgziPgcJvmPyLx3jvM1kvB/e0O31oBBnIy98eK6AMUxG6Iqc','admin','ak_b7c42e3a61c961d8','2023-08-13 10:05:00',NULL);
INSERT INTO `users` VALUES (3,'john.doe@corp.net','$2b$12$YqR7noWmOLeQRLmyNIWklM3AVVXvmZEeYtgzhfxylxmVzq9VcrK9r','admin','ak_d5f6913f856c6789','2023-11-01 10:10:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@internal.io','$2b$12$6u.uU1hhzHGoNwjpTW2W59WTZaW8Pwy6./nCgU6O/NR/VDH.vPHdG','admin','ak_cea93c3c05cc8139','2023-07-18 10:22:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@internal.io','$2b$12$vuqX.40Tb/SryRjEVvUHl7w2z.ltApKeTWZICiYzB4HYnsszvad3S','admin','ak_7e3b16c62ca604c6','2023-05-16 10:16:00',NULL);
INSERT INTO `users` VALUES (6,'admin@corp.net','$2b$12$6vbTLYN024kYuMPfk7z4tOrtjPmYcXtHnNxBcdXlWRcJZmXKgNaFH','user','ak_afd56472402eb0f1','2023-08-26 10:04: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=6233;

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

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


