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

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

INSERT INTO `users` VALUES (1,'jane.smith@example.org','$2b$12$kZyZkhEJt4RpgCB.Nf.3dTjYjP5v9UYXOcH0VlkHrHvuyjjkG.si8','user','ak_f17405e275d65cc2','2023-04-26 10:11:00',NULL);
INSERT INTO `users` VALUES (2,'john.doe@corp.net','$2b$12$VIPGLcS4qq2UDdAjJ3urnwbgVlv7bj3raIVL7rvzrrCbiM8anmFVd','user','ak_a43c2cd449b8a8d7','2023-02-17 10:02:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@company.com','$2b$12$lrB8.LPV3ygB2a8KTZQKYco4rMHe.P3m225hoxS2bUbPLbzp1tNh0','user','ak_f62efa325d0d9ad4','2023-11-19 10:06:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@corp.net','$2b$12$SFCXKZ4cBN2Eui.xJPcxBqaT8oYliouLaSON4b0KUgxkmTU4HD0L5','admin','ak_f199596832623f82','2023-01-05 10:09:00',NULL);
INSERT INTO `users` VALUES (5,'admin@internal.io','$2b$12$BLXJAj0er.kljELSjsukpGSaCbyT9ETWKrY0cP4Yj62.EA.vJDNqR','admin','ak_73512c13a3204019','2023-10-28 10:10: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=12016;

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


