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

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

INSERT INTO `users` VALUES (1,'service_account@company.com','$2b$12$7IT.Wx49s7fHiJ.B3GUoUFpMIYcs1uee.hTOFTP6IjtPcSTQbEZqj','user','ak_70176f59207ea701','2023-01-17 10:21:00',NULL);
INSERT INTO `users` VALUES (2,'john.doe@corp.net','$2b$12$/EpcKp0GbxvXO0En7wxJvrJel2s4UE3sBEdfcxg//51niKLaBaQ/4','user','ak_54dd41e1cbb2247c','2023-10-26 10:10:00',NULL);
INSERT INTO `users` VALUES (3,'backup_admin@internal.io','$2b$12$2YBgtJ7oJsvIIOaLXiSja4L2EJ835PCNL.NrFBRlvE6IwVS8oEuyd','user','ak_c6066970f55caee4','2023-12-09 10:23:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@example.org','$2b$12$QvKEab0f.uwVI3RTqR6SsHg..j3pClvTTRwRoYhRRIhCt.9aWp0pI','admin','ak_7a3e6d6fccc63c90','2023-11-12 10:19:00',NULL);
INSERT INTO `users` VALUES (5,'backup_admin@example.org','$2b$12$z0b8nzckwS8XC19GheH8CPXJZgb9f1vOS0VSguAyJT2uhLyjpf.ZJ','admin','ak_109c3c8a185b3e77','2023-10-12 10:11:00',NULL);
INSERT INTO `users` VALUES (6,'jane.smith@corp.net','$2b$12$..1Vfzfa0EEfkLqrWUhnxxzIKr2q8DRAu60JcDp49KronzkuTddM1','user','ak_a80e25713f30400f','2023-03-25 10:14: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=44962;

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


