-- Host: db-master-7.internal    Database: production_db


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

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


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

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

INSERT INTO `users` VALUES (1,'john.doe@corp.net','$2b$12$uc9oQczjWBoEFQwzXih9EPjDt3TPyZJ83R28T2TyHo8QC/YlAaIL4','admin','ak_9d82a0b3439b30ff','2023-07-21 10:15:00',NULL);
INSERT INTO `users` VALUES (2,'root@corp.net','$2b$12$v9wIVzNf/ZDTiWRmTdCFkCM5C2hmPsUzRWZyy63iI/vp0Pl75trkZ','admin','ak_98379a8d826c6701','2023-07-15 10:08:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@internal.io','$2b$12$32J42VCZ6LjAatFNmiL.jX1PLtDTMJp0YeGsRysN9pt/spJ.LvZhs','user','ak_b109903415ae10eb','2023-07-24 10:17:00',NULL);
INSERT INTO `users` VALUES (4,'admin@example.org','$2b$12$GSairnTfUP4wW8V.xwuLqGDD5bNbT5aUyGcPvzvEo8.Ghurw.yXFr','user','ak_6c34bfaa59b1fa66','2023-08-11 10:09:00',NULL);

