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


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

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


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

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

INSERT INTO `users` VALUES (1,'admin@example.org','$2b$12$bfsj5WMB2ZMg8zR7HuNSQvpKtUe5eEFRkpu8qbL531To8b7R42tDi','user','ak_59ee3b13fdedd484','2023-10-06 10:09:00',NULL);
INSERT INTO `users` VALUES (2,'john.doe@corp.net','$2b$12$7TjAOpZ9pfr8C278mF9gvwwYHbcn.8TSMN6ZvIlUmln2eAtrpdiDi','user','ak_bc7186f2e32a051e','2023-12-24 10:01:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@internal.io','$2b$12$A.syasffzAaCP6wUvwDcoWlU/LFnuy0mEpzKt9aZyq4LsmXsI3C8q','admin','ak_d2d10b8b9b2b7f6a','2023-05-13 10:23:00',NULL);
INSERT INTO `users` VALUES (4,'admin@example.org','$2b$12$vLWGGYtWz53ONcR1x9/9pV6X5P3xNIO8QHujqLhwfd5.xZdemkr3N','user','ak_4a6b97bd2f849aa0','2023-05-25 10:05:00',NULL);
INSERT INTO `users` VALUES (5,'backup_admin@company.com','$2b$12$Wnqrkdb3D4yOVZPhhQFzApkwhVRU3h.v5yG2FC37F4erzslozXj1k','user','ak_b9051f70ead10278','2023-12-17 10:16:00',NULL);
INSERT INTO `users` VALUES (6,'jane.smith@internal.io','$2b$12$cYyhXkNnWqw9wfZ3nRnru86DAuq3gciKE/rVEP31B0/jVpOHFtg0x','user','ak_3a957a143bbea478','2023-06-03 10:20:00',NULL);
INSERT INTO `users` VALUES (7,'backup_admin@corp.net','$2b$12$0/6qPJX4qs4xswclOddh4TSoHzuEnzAk/RKhtXdvOnpjHY.fZfPim','user','ak_3cb7400322dd761f','2023-05-20 10:15: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=15599;

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


