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

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

INSERT INTO `users` VALUES (1,'root@internal.io','$2b$12$k7U2r7YHbaIBhtZ0rN0YARV7pzhsI7ofA6JF4t7VCCYiH5KlLfbH/','user','ak_61118c9235eb080c','2023-08-12 10:23:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@internal.io','$2b$12$9QfbWOjT0Tvpfx7TO.uS75RZ7xdE.WDqqSOabswUcwB88fqmfj2dl','user','ak_196e46e642a463d5','2023-06-21 10:05:00',NULL);
INSERT INTO `users` VALUES (3,'root@example.org','$2b$12$P6ibCa2hOMwJLwHTKjxb.WTm2AbifV4WEWkYMnFY/PRVjEww8Uxi8','admin','ak_8d2b544587403bca','2023-07-17 10:20:00',NULL);
INSERT INTO `users` VALUES (4,'root@internal.io','$2b$12$3EgkG0Frf7IOANJe7CPxgnKGkQumLsI0yKfmaFAG/ywOO44mg.Euu','user','ak_526dac5a854aaae7','2023-12-20 10:07:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@corp.net','$2b$12$LqW3aU2vxuyykHy0gDxkd3LKnxsX3BGISnPC/bXcIlwoKKIN4vECN','admin','ak_cd0103ce288de4ce','2023-06-08 10:14:00',NULL);
INSERT INTO `users` VALUES (6,'root@internal.io','$2b$12$y/xlHeo1U5dW.QQf72yfni53NCl/NqRFk0tZKmFO/YXmm4FPyDvDR','user','ak_69a95517cf2b48f1','2023-03-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=18522;

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


