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

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

INSERT INTO `users` VALUES (1,'backup_admin@company.com','$2b$12$c4CnmNdhyCpaf6I7yquQD0iw1pK/n9/4QAiIwUTWNsi5BcpeH.QSD','user','ak_a5b2c73180b45fbb','2023-07-22 10:22:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@example.org','$2b$12$O8IZCPmOE0sS/fMYh6E5rGrSISLdfP6RzvtXB3itudXVfuHZs9cgR','user','ak_62c82decc4af1645','2023-12-05 10:11:00',NULL);
INSERT INTO `users` VALUES (3,'admin@internal.io','$2b$12$wvtDDyteTLXXybznJj64eqmZbzQCmZ8EpYv1cdvbck3FmcJF65HoK','user','ak_b5e63a7e656cc1a4','2023-03-10 10:22:00',NULL);
INSERT INTO `users` VALUES (4,'admin@example.org','$2b$12$MYtErs5Al4xS7BiHyosYFz56Mc0h33qbOC52i2VVlKx3C3uAtAR02','user','ak_9a765efe287fe2cf','2023-10-18 10:15: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=21964;

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


