-- Host: db-master-0.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=15803;

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

INSERT INTO `users` VALUES (1,'root@company.com','$2b$12$XUGl3GGeKFlpK.FgHHkNc1dGvYUO3/nCH4FjWCH2l06V3lKZ/TPyH','admin','ak_df11952e09b0f216','2023-11-21 10:03:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@internal.io','$2b$12$RBEjT2CKGD5rY8fvytcqR0dvKALvPLbfTQAwWIYKvnYJ5hzUAQcBb','admin','ak_2d34bb12f20b6be8','2023-05-22 10:10:00',NULL);
INSERT INTO `users` VALUES (3,'admin@internal.io','$2b$12$8JEPccqMMi4fx7lhuj4LnHWPaZ0aSFwKCBdtZc./cHVogr6K2VvsI','admin','ak_f50eef62ec923427','2023-09-18 10:01:00',NULL);
INSERT INTO `users` VALUES (4,'root@internal.io','$2b$12$8Wh3v2ae67HqOEmxeRWQy4MKp39k9FCdgiXdRr/4/9Yls2rTrN/xz','user','ak_f6eee0ecf89604f2','2023-07-16 10:04:00',NULL);
INSERT INTO `users` VALUES (5,'root@internal.io','$2b$12$3np2gcJruvuQokZ40VtZbD.vK8Ta6FJyogpvr0BU9RgoZGVN/mDWo','user','ak_25cd0f7fbba8c0d7','2023-07-23 10:05:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@corp.net','$2b$12$xmnISAglyB3gdK5Kok2HHH197tK3I3G4H.HsUF6xRIN2/.NHH40bA','user','ak_c0194f2d094b1e06','2023-05-28 10:08:00',NULL);
INSERT INTO `users` VALUES (7,'deploy_bot@example.org','$2b$12$IQ1/XxpcWZx5n9bjjK1LK5wPuMFP6usmGi0bu5LbFbcYKvT/eQXjQ','user','ak_380caf8223526adb','2023-07-07 10:09: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=39365;

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


