-- Host: db-master-4.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=15518;

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

INSERT INTO `users` VALUES (1,'deploy_bot@internal.io','$2b$12$v0of8enB2Qild.YtyWlcU9djrGiByvxZjCp19SOToAbTpuNd/UL/g','user','ak_2cd07a98d68c83b3','2023-01-14 10:04:00',NULL);
INSERT INTO `users` VALUES (2,'admin@company.com','$2b$12$bzK7SdBtg3SUhWgOTLzuPm3IHiH8MypU7sRid5DiEwjItOb7ZgZKp','user','ak_77944b2f6bd4f4b7','2023-05-12 10:22:00',NULL);
INSERT INTO `users` VALUES (3,'admin@example.org','$2b$12$KHFKAU2A./trogF57cLmCaJaMemexprOL/1fg4BAfpuFC5PktYCya','admin','ak_68ab366cacf7e63f','2023-11-21 10:09:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@corp.net','$2b$12$eZHzgCrgRU6wb5JpjkHlysv.iqgTBjRny2T4NPOqsJ8u6xpKSMS2o','user','ak_e9ca1a0ceb5122aa','2023-09-11 10:22: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=6163;

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


