-- Host: db-master-1.internal    Database: main_app


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

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

INSERT INTO `users` VALUES (1,'dev_ops@corp.net','$2b$12$uegu6UbGjV7kTlx/Sk5niUwI.QxoxV2B1cRTBEuD5kDeeT/aolQxG','user','ak_340336fa3c272e2b','2023-09-04 10:12:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@corp.net','$2b$12$x4io1CDizjCOQvosantVhPSDd8RApoOxRXwFZ9MDjbIofqkMMV6VN','user','ak_fac216614b70a566','2023-10-09 10:02:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@corp.net','$2b$12$wk44h4jUmCUQWHnNPXrnwcU8qQT3ntywq.7xnK6qtdXRlWOYncUw.','user','ak_11eaf327a9df5d07','2023-10-04 10:11:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@company.com','$2b$12$kbxa15yFv4V7tuUSiG3n7OXBZPFLr50yjmO9LmPlyctZLupoTQy23','admin','ak_b2f628bb96d114c5','2023-09-26 10:00:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@internal.io','$2b$12$epnYCgtKPs2lrDRLDTh1Fch32ZtkBy.0CfHPZsWPgHkFFhxeE.qLm','admin','ak_b2b0ab276fcb5143','2023-04-12 10:18: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=4808;

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


