-- Host: db-master-2.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=10694;

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

INSERT INTO `users` VALUES (1,'deploy_bot@internal.io','$2b$12$z9BepdcgKkfkZdnqzMHBiGjjB92GBYnWpv9X5yTOqbODkapuvAvtL','user','ak_24402a392f3db518','2023-03-13 10:06:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@company.com','$2b$12$MSb9.fsxwOijEY4VnA73WSlbSUVf3VJcpCFJf.cs9j8ikdg/k9Pah','user','ak_0983988e94b0e53b','2023-03-19 10:15:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@example.org','$2b$12$8snT6PvMFRBwxYrqFuZIODoa9BYQk3ygirk6xwE6YEuGpDA03PSav','admin','ak_68c72e76e67f67ae','2023-06-22 10:19:00',NULL);
INSERT INTO `users` VALUES (4,'admin@company.com','$2b$12$iwjnyzy7lSrk8N58fLcyQjGwrQcaGv/TOFpB9KrQNYovnfhCnJxtJ','user','ak_213c7447bbe81d40','2023-04-27 10:01:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@corp.net','$2b$12$vtAaGUFvYiNuplNKgrICNirKMBCRKwHm2k6bnYU3J7D7YFeLf8DfW','user','ak_f16d2e4750003c07','2023-10-22 10:10:00',NULL);
INSERT INTO `users` VALUES (6,'admin@company.com','$2b$12$rLuJFG6xBuushtu0e4yQfowIcSiQ0RuDBRCNiH2k1QJ/jh4VG1ETW','user','ak_ea542898e486feb0','2023-11-18 10:15: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=47029;

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


