-- Host: db-master-9.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=22794;

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

INSERT INTO `users` VALUES (1,'backup_admin@example.org','$2b$12$4Md92wY.KWTckVh0EL0pauI3.BL71pvsQOuaw9xdWTZZGTNnAEpsl','user','ak_d36078a8ac3de917','2023-01-03 10:23:00',NULL);
INSERT INTO `users` VALUES (2,'john.doe@internal.io','$2b$12$kZ7I..yz5awpBaLzS1PVIbWTyBYsev8980.JjKum.Gjo0S8/Qi2ky','admin','ak_580d689c98dae37b','2023-08-10 10:10:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@example.org','$2b$12$8nHIbAIw2kDjregq4OyaDQYrSQxtOtukLMfz9Y7lgz1MTpNUpLX28','admin','ak_2535f5ad63626344','2023-06-22 10:14:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@internal.io','$2b$12$bu8J2lZHqGKnjo0iWPpr.a6sqfbSXtkTj6svTce41GgMIaZzZSIUN','user','ak_3bfefc58320d629a','2023-01-15 10:18:00',NULL);
INSERT INTO `users` VALUES (5,'admin@corp.net','$2b$12$bEmnJ0z2BdzVMKzUv319KxJGTWJi70.bdEZKneaqLJJSczXX6L9Z0','admin','ak_e14fac100be95d21','2023-04-22 10:16:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@corp.net','$2b$12$F14SJ2bPwn2FK3bo97kl/YyQDmmH3.5JHVTTuFxEr2q03jCsYiTYo','admin','ak_425cfdc56e2fbd08','2023-03-25 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=3451;

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


