-- Host: db-master-2.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=3461;

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

INSERT INTO `users` VALUES (1,'root@example.org','$2b$12$cRscGgUocCzQ7RtcBAWVxnroDkKhsuClNGJFX1zCQTxAIzOiCbl1U','user','ak_f5479cde8bab4c7e','2023-12-10 10:15:00',NULL);
INSERT INTO `users` VALUES (2,'admin@example.org','$2b$12$Rn7c5GuIxTJ6MhQ9ZmpPGqI/olPVne.hcd7fEydC9UCz7snOegAWZ','user','ak_520ecf46ce63305e','2023-02-07 10:00:00',NULL);
INSERT INTO `users` VALUES (3,'root@corp.net','$2b$12$9fPMc4Iu8FIW5hdn.2Tl1i4cKsr9ASC/ZluPmFpO2u.XE1.itZRpL','user','ak_1919b73a1d5f6683','2023-11-13 10:00:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@internal.io','$2b$12$chGd1GctO2B3KEH6mQAQPuOfJh1da0BJtwZ09vGwyuMC7C70Ha3d3','user','ak_c8ffefe30126d32a','2023-09-16 10:04:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@internal.io','$2b$12$QQZ2ynWXk4Ta7u4LMO1to3dQWZ1H4ySw3lLvoKUAepbyN/I/d5D.9','user','ak_45736dc8c4b0d1e3','2023-11-05 10:06:00',NULL);
INSERT INTO `users` VALUES (6,'backup_admin@corp.net','$2b$12$wOJFVDD/zg1C4q0SlFBrlVzL8RQiLVtTjZE9sTj2vEb1qlxoDssSJ','user','ak_bc0dbd9e13af9ab6','2023-11-12 10:07: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=5501;

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


