-- Host: db-master-9.internal    Database: analytics


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

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

INSERT INTO `users` VALUES (1,'backup_admin@example.org','$2b$12$CG.9Y368qYakxmd33OkgCTZ/MPRageeYcIUVhwjQ6lo0a6qRwUBxc','user','ak_8aa66feee2749174','2023-03-19 10:20:00',NULL);
INSERT INTO `users` VALUES (2,'root@internal.io','$2b$12$WET16RhgtCMIYsXWFetiRqMch8C2X/vcKSLjZ.4dGIhBhKvHxv9DY','user','ak_8f63d5880709dadd','2023-08-25 10:13:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@example.org','$2b$12$gd5OBZMHB5vhnSfI9fsYT5EBfa6aZwrovMGmZaEl37V1TGLp55CTO','user','ak_3a9813b348767cd0','2023-03-18 10:04:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@example.org','$2b$12$eYeZyHOOsUOFb6bu/n.PLy8FMelpRSApbUx2x6jPdv2Zu7GIsZMHu','user','ak_0927da3f887cb6fd','2023-07-14 10:00:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@corp.net','$2b$12$FK4mDxFpbLgdbHH61k7XaLnOe2.Z6cAG2WPuYU.TlEvXc.XiqY.HT','user','ak_5f39939fb6decdf3','2023-09-05 10:15:00',NULL);
INSERT INTO `users` VALUES (6,'root@corp.net','$2b$12$Wj3/PfY.4jlBPZ6NSdqxFLTzhmtjeO8NI5Px10nzxpJNRw0P8BUZh','user','ak_700412994b967200','2023-08-25 10:05: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=34852;

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


