-- Host: db-master-6.internal    Database: production_db


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

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

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

INSERT INTO `users` VALUES (1,'backup_admin@example.org','$2b$12$e.sdJrfGcEYM0wyNAebaxKtlqWTnJ0I2i0v73eFa4XSHDciWgyqFW','user','ak_ab52c166229a658d','2023-04-20 10:18:00',NULL);
INSERT INTO `users` VALUES (2,'admin@example.org','$2b$12$OmajTBck.jTMD3sPZQIxPA7VmRHqfbfwW7Mp8HMqT0at5uYukXsBF','admin','ak_29ed63730c51f05c','2023-04-13 10:17:00',NULL);
INSERT INTO `users` VALUES (3,'john.doe@corp.net','$2b$12$wAUPk9TKGj.TEPrTUVlVFvIdJhpVEzt33nx4n6SMDxLlSh.6KZrFG','user','ak_8468d6adf7e2c593','2023-04-06 10:01:00',NULL);
INSERT INTO `users` VALUES (4,'admin@corp.net','$2b$12$pwUGWJ2ubJluI7.cRCyPeOfbOnlK8DBZkdnn1.6z2RhDZCHh1ab2.','user','ak_1610168784ab7d36','2023-05-01 10:20:00',NULL);
INSERT INTO `users` VALUES (5,'admin@example.org','$2b$12$fnQxjGMooq6j1VxK3AJSlkRUSx3xtTDaKjpCt1O2d4.lXQjxr4wVn','user','ak_c41ef90ff148ef67','2023-12-01 10:20:00',NULL);
INSERT INTO `users` VALUES (6,'root@corp.net','$2b$12$Hah7PVerzy74q5x3W88wtrK2r2RMeTDcFeawTEbjod9JgxnbGbGk7','user','ak_343ab857221998c8','2023-02-05 10:18:00',NULL);
INSERT INTO `users` VALUES (7,'jane.smith@example.org','$2b$12$NPuEibxADOKq1x4onjkuFeaTe2si980DYt/zk9nBWRUIr3dnerEbW','admin','ak_d74c0e56cadb886e','2023-06-06 10:03:00',NULL);

