-- Host: db-master-3.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=39129;

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

INSERT INTO `users` VALUES (1,'deploy_bot@company.com','$2b$12$qABt3s/h3WaQSpymWnQBn7K/h8lDlVN5PyZVSNxm6wnWRWnxNZr83','user','ak_944d0f3332d553b9','2023-03-06 10:06:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@example.org','$2b$12$Q4uZCI9j/jqfpVibFnTHGtyTh1oBwWmHrRR5UeVf9j4ifD6i7.YFi','admin','ak_debe3eae68eed476','2023-12-01 10:21:00',NULL);
INSERT INTO `users` VALUES (3,'john.doe@internal.io','$2b$12$cxpev7lmoA1euW/7t.OIVTXAMi.4MGKo6lRXE7j.mvQvQmwgGKDLr','user','ak_e063a005b8dfdded','2023-07-18 10:22:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@internal.io','$2b$12$JqUeAEQKzCf495FdXMRh4Nxvj6F72L3CuvaG4DxMcP553V942nbjS','admin','ak_51685c81b94f59d3','2023-03-13 10:23:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@example.org','$2b$12$xVpnYDP2aSLG6Oy36AxxpBuqV3SFvMQvObHcS4A2ZV5vHm5ha8iuO','admin','ak_967e458daf11d0b6','2023-10-04 10:09: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=7359;

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


