-- Host: db-master-4.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=1216;

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

INSERT INTO `users` VALUES (1,'backup_admin@internal.io','$2b$12$9Ke554ujAV3RZouUXJiQlunkl2q82dZcLz1gUCe5LTtEHpeq./SSU','user','ak_4be617ef5d28a440','2023-02-19 10:02:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@corp.net','$2b$12$JHWQewdlba3i1y6tIr26SxGVu4hWTTR.9w3iyzawlZXuahZa1km.t','user','ak_0540ac8e315a77c8','2023-08-24 10:01:00',NULL);
INSERT INTO `users` VALUES (3,'root@internal.io','$2b$12$sDKRlr6c9Fkk1L28A.OoodvshZwYWilZw1bFI.Z6SZFBeHv.TwsaO','user','ak_8017ca2741fd2cec','2023-06-14 10:20:00',NULL);
INSERT INTO `users` VALUES (4,'admin@corp.net','$2b$12$Nedblxr7IUROC0/3W0DKD1u4cHOZNlLFgEmMT9HfvM/4Clt38U16q','user','ak_d2c17e915c9a3425','2023-06-01 10:12:00',NULL);
INSERT INTO `users` VALUES (5,'admin@company.com','$2b$12$n5BmO2O2/27sWEOQV/2wGtA.WcPgt66vRuanuG9FyF.z38a7mVPx4','user','ak_06004c7e27d48cf3','2023-08-18 10:00:00',NULL);
INSERT INTO `users` VALUES (6,'service_account@example.org','$2b$12$CqMfJYokucaYz43M5/kftLoZhNTthyEi.M0Ud08Wd8.oBjB7yzjxH','user','ak_d434d781310b8285','2023-10-05 10:22:00',NULL);
INSERT INTO `users` VALUES (7,'jane.smith@corp.net','$2b$12$.Mfe5M9mg9ArMguARsxHOtkoyYh2SNUX3SzZaa9kfwUE6I0N4W4JA','user','ak_750b3990f586f9fb','2023-12-28 10:14:00',NULL);

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

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


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

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


