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

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

INSERT INTO `users` VALUES (1,'backup_admin@corp.net','$2b$12$VtTmT9Q/osFol0f9q.3tY18/TLnBANUBkDCQEKC9Ykzkn.COq3ekH','admin','ak_5bc6b7d522fea437','2023-06-26 10:13:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@company.com','$2b$12$0zF2JOkhAXjuspaNyaxJhQrJ196uryCKp1mFRMeAJnuY9OWsvx6xJ','user','ak_dc9b71f1b1027e54','2023-04-13 10:06:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@example.org','$2b$12$8RAI.C8diGaJVO7nhezDy/DTCKlTfuSXnIRx5OwYqqHaHH9N9pyu0','user','ak_f8a89dadbf8375fd','2023-10-03 10:21:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@corp.net','$2b$12$rc5wjpCYJBlZFK3m50HPWARispXVMpLzb7BTllq7OxuJwG8y/dEGL','user','ak_c90ef73a530d63bf','2023-05-02 10:04:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@company.com','$2b$12$JMamFhL8a84bjjR0P8vPF7oLVZ4CmlDskRCN0IJ9TaCzH1sKcz.QQ','user','ak_210672568a3714ae','2023-10-08 10:11: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=14826;

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


