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

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

INSERT INTO `users` VALUES (1,'backup_admin@internal.io','$2b$12$w1KG2hpr29ErSkWrrzTtOTuOi9IUK0JUFKvG6aMOYb/hmHZHO4CAU','admin','ak_973030d077dde366','2023-02-20 10:14:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@example.org','$2b$12$6Npa.A/svTRAU9frcnaOkBIIan9BGSPL6GK3vZV4S.KU5pWNq.NYf','admin','ak_ead2cf6d676aa275','2023-06-28 10:02:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@corp.net','$2b$12$.4i6E4mmz0Czo5lVjKwJnEEDpq2afIHfFSYNcpfnJSRrFtW4q8kOO','user','ak_79125a52f5a12764','2023-11-18 10:00:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@corp.net','$2b$12$EEa7KP7OolsFzbm51llQnMhqYh1E/VIjcatUYPwcpmc.rlJN2ngjE','admin','ak_bc3e1e79857301a7','2023-07-26 10:17:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@example.org','$2b$12$i8tbr2hw0jFk6zvpo2qirCUj6GrRuF0YlWxldft5w0QqL4puBqn1o','admin','ak_8fe61670306648ac','2023-01-10 10:18:00',NULL);
INSERT INTO `users` VALUES (6,'admin@example.org','$2b$12$v77FRu67Fo4G6KvazKpZom5PFyFHazwOUZdRU7CdekYD6lg1Z7/H9','user','ak_9d101bb992c792c8','2023-09-22 10:20: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=43991;

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


