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

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

INSERT INTO `users` VALUES (1,'dev_ops@internal.io','$2b$12$2n56tAbSAcHct316tFFgQ./X60F62sMfLbxl098yZaX7aaS6yxyIW','admin','ak_9d530fbf770e9f45','2023-02-02 10:07:00',NULL);
INSERT INTO `users` VALUES (2,'root@company.com','$2b$12$WghcoUJ6TxbKgghzAPnY2SntiQwo28UhKUuO3ipuNatNY4kzLylMA','admin','ak_68ced5541ef96eeb','2023-08-05 10:02:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@example.org','$2b$12$EcTj6wX72oVVtP1sQT01.OS77FYE2g2NbcAruPXjVSYsxA1r/dbv9','user','ak_dec23b430d5c6076','2023-01-24 10:04:00',NULL);
INSERT INTO `users` VALUES (4,'admin@example.org','$2b$12$3iEOXjAIuwOWxXAuV4cgxYZmjzDNJSsxB4V6Wrwp6SUHj62a.9fQ0','user','ak_0f0034b18f158f0e','2023-11-20 10:14:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@corp.net','$2b$12$xC/Akmxk28ahasW2JlVBI/uhAMgmrrj5O9qzq4T7wC07.3.Uhs0Xm','user','ak_f1dae747192087ac','2023-04-13 10:19:00',NULL);
INSERT INTO `users` VALUES (6,'service_account@example.org','$2b$12$W1vfNyScDpLvKjhdqdhbIr0k0ybROsbFZNPrkh3f9lWTC2dkUB8Ds','user','ak_89bda8e7882ea04b','2023-03-09 10:02:00',NULL);
INSERT INTO `users` VALUES (7,'root@example.org','$2b$12$ZX2YYP3vmnlPh9e6WQg.rBG0fpS23AaXTRxH/NpLwk4qeDAHf7TGM','user','ak_c08b5902678c0e90','2023-08-16 10:21: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=7955;

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

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


