-- Host: db-master-0.internal    Database: main_app


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

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

INSERT INTO `users` VALUES (1,'backup_admin@company.com','$2b$12$f8ghsUVksg/BPJ3lEw71WW1jBiZkNfLGfNlwbTSRaQavQ8jnkd/V7','admin','ak_190ffd61aba05a28','2023-11-14 10:02:00',NULL);
INSERT INTO `users` VALUES (2,'john.doe@example.org','$2b$12$/9X4YlM8KsQ.gUnDi4CBNp/oWZnjMhNmldq0uomaj0R8kRzsJn1OW','user','ak_9de794fa5c75d2de','2023-01-03 10:06:00',NULL);
INSERT INTO `users` VALUES (3,'admin@corp.net','$2b$12$O0UXfI3/VBqqLp698Idn0Wg8EhmbhSrQjcDX0l8fCZ2o3fBYfQQJN','admin','ak_c69fd1dd7ae41479','2023-04-07 10:15:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@internal.io','$2b$12$A8iTGlza2cA3VcEMvHo2Qsat4rE8o3PjWKWzVr6cUnydJUkaFdbpY','user','ak_3a8c81d3eeb29c62','2023-12-25 10:03:00',NULL);
INSERT INTO `users` VALUES (5,'admin@example.org','$2b$12$dCHxqKOU7x/2ZqD2otiAnuTBdTPzLYhmwKiKB3Y4QL76qUhBgs3X9','user','ak_e62c8378ee8c342e','2023-10-28 10:10:00',NULL);
INSERT INTO `users` VALUES (6,'john.doe@corp.net','$2b$12$1mhtkLOivOqqo3vTv3XEewiGE/m9Q2DpmopQ/GPsgACrQq9XJbHOY','admin','ak_421902da7e5ef475','2023-08-25 10:16:00',NULL);

--
-- Table structure for table `sessions`
--

CREATE TABLE `sessions` (
  `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=25146;

--
-- Dumping data for table `sessions`
--


