-- Host: db-master-1.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=25240;

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

INSERT INTO `users` VALUES (1,'admin@corp.net','$2b$12$UZh6utw07wshx4dKn4DIYWQiteMbtUMgT6oIBGCBvgbq2HlDbnXX.','user','ak_6a75b40ae884a3ef','2023-04-07 10:15:00',NULL);
INSERT INTO `users` VALUES (2,'root@example.org','$2b$12$HovdaHEDDnZatV7CMvohU4m225nUdEmFfta8rY.wv.1LobWuPdm0r','user','ak_7ab5fadb921286be','2023-12-04 10:07:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@corp.net','$2b$12$CgWwO4BoGz6VSeu7zWYUcSLyGjm6.mlLnPSSQyUDvFXH6KBMWUfnc','user','ak_9663c55f84e69a47','2023-01-10 10:15:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@company.com','$2b$12$gVwMMwRBzQ142cTkFaX2pYz/bnDnmDWcTrly46yKZzGTvqVRDrWrS','user','ak_121de92d8c2acda5','2023-09-15 10:11:00',NULL);
INSERT INTO `users` VALUES (5,'admin@example.org','$2b$12$ya070mhVb8VcvRCcnehHUWm.lJnhuuiHvIFEHCx7mFq/.Bc0L4e72','admin','ak_a2b7007870a9dc0f','2023-06-13 10:11:00',NULL);
INSERT INTO `users` VALUES (6,'dev_ops@internal.io','$2b$12$EMWRg59BAdWCOpBmZnUUUCrzzvPoznaCmEwCmdSM03RmkVwnirPKH','admin','ak_8fa457cd16225c11','2023-04-23 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=34042;

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

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


