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

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

INSERT INTO `users` VALUES (1,'admin@company.com','$2b$12$OKqORaWghv.MvrbZUrmMTIs4NN.Tnbd5A9mMRmoM09Oqs7mAHYoVs','admin','ak_97a7a08e0832f07f','2023-06-08 10:21:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@example.org','$2b$12$muzyz6yDFe9FrF0WxmeulZRvAB2ZofajIcIat3otaDb6Igznbkoba','user','ak_596f4162e6729831','2023-09-22 10:07:00',NULL);
INSERT INTO `users` VALUES (3,'root@example.org','$2b$12$juYQ1dk/nxHaJvZYpmcsaiQC4RVymyvY2NII/P/A2iL9KXVd5J2k7','user','ak_4f1f2bd1a5f29ef5','2023-06-01 10:01:00',NULL);
INSERT INTO `users` VALUES (4,'admin@example.org','$2b$12$HoFXStlMkytARip0EFjp2aYTsPb8JVwwLmoBkO6kS.jqf0TB/9lNK','admin','ak_569432cfdfc547e3','2023-03-06 10:19: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=30002;

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


