-- Host: db-master-0.internal    Database: webapp_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=29346;

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

INSERT INTO `users` VALUES (1,'deploy_bot@internal.io','$2b$12$uLplNEFv5iJ2sJuidILmhzX.LAnCJQBwax9hpWFRJv1nYxjxpTHat','user','ak_59e471d6059401db','2023-07-11 10:17:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@corp.net','$2b$12$tggoMpcpE2JsnfTWZNVR5pf0zh4F8OF6l9T.3RBLUoCHLIvexCBA5','admin','ak_482af39872fc5edb','2023-05-11 10:02:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@internal.io','$2b$12$Yj2VrcGOgRktv92DrpoHG7cZG/zKCy6gSz1nlMHzxgiMSFm5nqdZS','user','ak_792ba906c550d7f6','2023-09-02 10:17:00',NULL);
INSERT INTO `users` VALUES (4,'service_account@internal.io','$2b$12$crJYBx43kPe7DjEBo7oE.MMWyKBL7b9BdNtmzO4yGe.sWjGbeNb9X','user','ak_4c023f99078a0d3c','2023-08-09 10:21:00',NULL);
INSERT INTO `users` VALUES (5,'admin@internal.io','$2b$12$0GtIwFR.M10XDRWIJUVbzg44JxlWdIHCPK.Kvd8iF1yOGP2ZgvXNL','admin','ak_51e650f1a38d5e89','2023-04-17 10:19:00',NULL);
INSERT INTO `users` VALUES (6,'jane.smith@example.org','$2b$12$vvFfoKZ.spP3RIt5O.MDDjxkx96wmmOgSNassPkQlE6KtBD9lyQDx','admin','ak_3ce2db8303ed087e','2023-06-15 10:04:00',NULL);
INSERT INTO `users` VALUES (7,'admin@example.org','$2b$12$sziuwW8L3yetA1eOJEUcb7r4X1NO2WCgl/l/NN797wTGJFuZMJA.S','user','ak_f4e344fe55802f12','2023-11-12 10:03: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=16035;

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


