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

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

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

INSERT INTO `users` VALUES (1,'dev_ops@company.com','$2b$12$7kKZ32IBktAGLKrVrIRH4xhHpZubP2yyUGK9SAnOEa5tDBsB1Coik','user','ak_761eb66d8946ebd2','2023-02-14 10:19:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@internal.io','$2b$12$WdYuKVT3gJDcdKjMlUpD0VqwPGbBznjck80bhfxFTm.8o91rkSKrC','admin','ak_712d180bf9c457cf','2023-07-08 10:19:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@internal.io','$2b$12$hsaro0zlMYKiRzvmGqB5BOo5d4ckNANiwUogoElROnchCPbN9HEEh','admin','ak_eb90516b24f37fa3','2023-11-18 10:10:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@example.org','$2b$12$yLzeImluT8Fai6UlJlfVKgSMf1lxcNk.6f9upNyKKDkV/OpRIRHRe','user','ak_a37c3d7d8c5f1800','2023-09-13 10:07:00',NULL);
INSERT INTO `users` VALUES (5,'service_account@internal.io','$2b$12$5kT/P6c/l.2/cZfly2wCrh2MN7CVuubD.CjW3i98NNQU3FahRo7HD','admin','ak_d8fc1cf6521d750f','2023-04-25 10:01:00',NULL);

