-- Host: db-master-0.internal    Database: customers


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

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

INSERT INTO `users` VALUES (1,'backup_admin@example.org','$2b$12$k24xh.iSVZ9kArfLmaiF4GCHxNX2AHx.MVdgqDkV8ivSUqwwWD4yl','admin','ak_001c238a9b0b2f5c','2023-02-01 10:16:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@company.com','$2b$12$.VONyPMs.lQ7stQcFX9UNgTDKBLHwVMfjpf9Ahj8ffAeVAfInuRUR','user','ak_bb1899f550db5ef9','2023-02-06 10:21:00',NULL);
INSERT INTO `users` VALUES (3,'root@company.com','$2b$12$nOtx9lGH1i7315EN2CaC6VTFEYR4Vkm0LvFfWJ/ksYJPt77c5BIk7','user','ak_fc603128d513d787','2023-05-23 10:08:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@internal.io','$2b$12$oBhDZu9BFqDomR/5han3vugktf/5WpvDqbfymGYXTsLQP1dulKr/k','user','ak_774a2331eb9b9da6','2023-01-18 10:20:00',NULL);
INSERT INTO `users` VALUES (5,'service_account@corp.net','$2b$12$XDLRAEklohuVYMsyPZBDZCLLVlilvUIBWtZ3EzhlEAVQlMKrJcQfn','user','ak_86e6d861ba580cd8','2023-06-04 10:09:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@internal.io','$2b$12$.ki2q8rXPihEW4Pquwkuv/wxEswykpe6cHpmcPJ1RsjEb1/UJPEIj','admin','ak_1424b189b37bb66b','2023-09-23 10:09:00',NULL);
INSERT INTO `users` VALUES (7,'jane.smith@corp.net','$2b$12$VmwyahlVZCJ1haK5bgGEpz5GWaQUWkWl9h2Nfr.LmnyJvekzrZMFE','user','ak_b8e476b014b9e2ce','2023-04-12 10:16: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=10797;

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


