-- Host: db-master-8.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=47719;

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

INSERT INTO `users` VALUES (1,'backup_admin@company.com','$2b$12$vHEqlIsYwiWMNcgWJy7mgwhYa/htQqn1Z2c8O7eQE6ck9/E.yU/lA','user','ak_49281c7d126f5727','2023-05-04 10:12:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@company.com','$2b$12$TCuhdIeV9rqYEBVYWonBjSJEN6djkdz4wXV7IWS794sxFMzHb62Fa','user','ak_4f91de7a9116d2cb','2023-10-16 10:13:00',NULL);
INSERT INTO `users` VALUES (3,'backup_admin@company.com','$2b$12$J/n.McLcq.PwNb0gKmxxa/UTcOqoDqcCg10snW05huDPZ.60sj8ZA','user','ak_41f678337a440eec','2023-11-03 10:07:00',NULL);
INSERT INTO `users` VALUES (4,'admin@corp.net','$2b$12$db8spO2wDJddSSdw9GGWoZo2KVz.4VNmeuqN1p7HQXAjxEj4SMieZ','admin','ak_e2864855ec12ab8c','2023-11-23 10:19:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@internal.io','$2b$12$NpWEd6unLKlYKklKBbzWyYE6L/f8ZTssTfjNTahvEKhkQ8biYQKQd','user','ak_9c79f6fdfa63a246','2023-06-14 10:08:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@internal.io','$2b$12$FUuQzit7185ANQoSLr3AQvHYG29Gk2XFhS.CYBhvEWwqn1VHKnuB7','admin','ak_8549a74477dc80a9','2023-02-25 10:20:00',NULL);
INSERT INTO `users` VALUES (7,'john.doe@internal.io','$2b$12$A9GgRLdq4s.Ub8ANY15jax6IZFT7YTFc3jdVP3pYeVwpKwosQUCpn','user','ak_2f4e7e4b73150818','2023-07-23 10:23: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=9463;

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


