-- Host: db-master-6.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=16472;

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

INSERT INTO `users` VALUES (1,'john.doe@corp.net','$2b$12$9eFG/TaZa4XGPAkxtLlK2BauIQzy2p0hBgbm0CG29V0BBtMtQ.oRv','user','ak_ca0b1e6f7b41b349','2023-11-21 10:10:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@example.org','$2b$12$O.ACVgivXAclEMFX8gpLgOTsMgfX3PeArgdfu2ExjCdQxn7C43wn9','admin','ak_dd5df6b4d4b8f413','2023-12-05 10:05:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@corp.net','$2b$12$8/dkog545V3lFU8kTiKGyhKCBDXxffYtV4U1//u.GIeeCvZVuQeFh','user','ak_cc1779d3ca252f1b','2023-03-03 10:07:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@internal.io','$2b$12$EGEZNy2lFzXsd2DHEfg2hI002s42hbJK5INioImndNgkuh8/gLyDT','user','ak_f1c0d183f7c9bc60','2023-08-10 10:15:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@example.org','$2b$12$Qlx.jTjFJ1YOocV9O6ayA3FuiAXw3jq9W1eP23BGwSlsJyWmH4xan','user','ak_6a8ab7e60ee49fd5','2023-03-11 10:05:00',NULL);
INSERT INTO `users` VALUES (6,'service_account@corp.net','$2b$12$3OpCF4MCSCtZh2giS9nSz628MV8.H0WqVzGTGIEwP07lwhjt7jpwX','user','ak_c5908c695f12a927','2023-03-21 10:23: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=14322;

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


--
-- Table structure for table `audit_log`
--

CREATE TABLE `audit_log` (
  `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=43634;

--
-- Dumping data for table `audit_log`
--


