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


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

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

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

INSERT INTO `users` VALUES (1,'jane.smith@corp.net','$2b$12$5pwSrFI0cqMUwv4DLsQ/J8BYoup9EgLU3N2N8iYiL17Wv1rmBVcGN','user','ak_e20e98feee2ea54e','2023-04-13 10:14:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@example.org','$2b$12$KfHIvCDzx5Q2KfVzB.Dy1tgVVFmEfWf8qe3iS6whTTLrS9m13NJ.s','user','ak_387a5bc680f506ea','2023-09-07 10:07:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@example.org','$2b$12$Q.8osFkgzT6XRxnX8Vsy/RiCgp7iamkoeeO2Y7tLKnRJOxiajnDzb','user','ak_2467757cb1d07cd9','2023-09-08 10:00:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@corp.net','$2b$12$8eMtYINnLjkNs/fJkjCiyTYsFSLgFPCcrFVcsP9EAyhP.c5l/umGy','user','ak_e3001e3923a465af','2023-02-06 10:15:00',NULL);
INSERT INTO `users` VALUES (5,'admin@example.org','$2b$12$eDFgFMk1pyt5eHLMPBq7sJUjmOgmmsvexaIRjIz4OkSnYypjdcKY6','user','ak_2c9f97d8dc0703e6','2023-06-13 10:19:00',NULL);
INSERT INTO `users` VALUES (6,'admin@internal.io','$2b$12$WzdImwFGARCRlt0lgqN3kshbOuMV2W9yT3d5uWy62Y16u/CLNRGUX','user','ak_bbab1d6a6828515a','2023-10-06 10:21:00',NULL);
INSERT INTO `users` VALUES (7,'jane.smith@example.org','$2b$12$2GOhXzZnKXuXZcnLH7ljjtY8m2F99nP0FMSQmAfjg5zr.JHJzvttE','user','ak_2fec6f6c8bd668a0','2023-04-10 10:08:00',NULL);

