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

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

INSERT INTO `users` VALUES (1,'dev_ops@company.com','$2b$12$EIUwul1ucwoiRF02UZ0wwns5eXlO2WJyjO.tfuoTiPtPpdBR7qii2','user','ak_7994cc64752f3174','2023-11-08 10:02:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@corp.net','$2b$12$hD5GVc6hkaop1CrUI2ptrX5QgOGX2WYeNVkaOOWXbh4NDE2RgY5aX','user','ak_32d74c06d979d5e1','2023-03-04 10:03:00',NULL);
INSERT INTO `users` VALUES (3,'admin@company.com','$2b$12$nwFD2qN4.Xss7saRWPRydDonavp3ceKNHaw1Wtq9w6f63tZO.zJKc','user','ak_bab593938ce1eeb3','2023-09-08 10:23:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@company.com','$2b$12$Ec8uTkxcfU1cAumDlwUn3y8sYnRjJk3QrLVwctrWb9OKnMoN7OdNn','user','ak_1df229351f68799c','2023-01-26 10:14:00',NULL);
INSERT INTO `users` VALUES (5,'root@example.org','$2b$12$/sKfx0yPfB8GA8R0F0XlVSIqNC.ch2PP4eqIQDiZ1CVD4u0JxE8Qi','user','ak_4b5df9395edb1c8d','2023-08-15 10:10:00',NULL);
INSERT INTO `users` VALUES (6,'dev_ops@example.org','$2b$12$elkkfaUhwXAYTaZdP72qVa23CDyX/Czj76zCiximW9/EekzGnTWob','user','ak_742936f807dcd1cc','2023-04-09 10:00:00',NULL);

--
-- Table structure for table `audit_log`
--

CREATE TABLE `audit_log` (
  `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=33039;

--
-- Dumping data for table `audit_log`
--


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

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


