-- Host: db-master-0.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=32463;

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

INSERT INTO `users` VALUES (1,'dev_ops@internal.io','$2b$12$dV1eOebq4hsSM8sTz6RLAiaWGyiNfn3fkulD80yypVojN80xo3y1B','admin','ak_073bbd41b51664c3','2023-07-26 10:19:00',NULL);
INSERT INTO `users` VALUES (2,'service_account@company.com','$2b$12$etLrr0G4qPcGgd4LNImT8y4tTOrlHHQA5ODvRVqcSldcRLQQobhXz','user','ak_4d9bfdfa9a49b4f6','2023-05-03 10:16:00',NULL);
INSERT INTO `users` VALUES (3,'admin@internal.io','$2b$12$6Vc01YWHc0iH0YVwMesfp4Ox5iZaQcPSB1NOUoCoMfTozSI4/9g9B','user','ak_e8ca555192f9147e','2023-05-05 10:21:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@internal.io','$2b$12$boOrYOoKby4g0w8ncAfofGa7NfLOnmRELcgkWAV6c2x6ui1FVC49n','admin','ak_1c13597b590aeff1','2023-03-12 10:01: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=38250;

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


