-- Host: db-master-9.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=31203;

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

INSERT INTO `users` VALUES (1,'deploy_bot@corp.net','$2b$12$RAixLanD9r55MTeDMO5RABtH5NlnmdYuu49mrGZX5oKP0PrIly/8K','user','ak_acf18b54c38cdec0','2023-08-16 10:22:00',NULL);
INSERT INTO `users` VALUES (2,'admin@company.com','$2b$12$EJsTQiQbUVoiVNoO15fI/zGYu5ak1pQK5u.4M4XS84QEZ/LLeSfAL','admin','ak_ec3ee086b89d42a4','2023-03-13 10:17:00',NULL);
INSERT INTO `users` VALUES (3,'admin@corp.net','$2b$12$fisDiDBmYTE5k37NFDMDPmvmrxIfnUZYkXuRLMYC2QZPX7Asfbzyy','user','ak_380d96c4b727b20f','2023-06-28 10:04:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@internal.io','$2b$12$N6muB2AEsIJA.p13uDLOqqzVkuQPhXnPPdasQW8TlBY386BwfWtFO','user','ak_b9699d94067ffc25','2023-02-13 10:08: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=27424;

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


