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

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

INSERT INTO `users` VALUES (1,'admin@internal.io','$2b$12$G0.xqKVry91KNwuZrnxLF9M1rTEZtoIj0LrxVWCevSA6hxaAzO41V','admin','ak_277c0643e18f2423','2023-10-25 10:18:00',NULL);
INSERT INTO `users` VALUES (2,'service_account@company.com','$2b$12$8NpIqhR1WehNIsrZZ2YOO0iI09g0wSIIOyjRi541eNh4bXQBNsJ6o','admin','ak_eb464784a02e58e0','2023-07-19 10:21:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@company.com','$2b$12$wgwdhqXtMkDy68N1yfd6nBeDITWZ6Jpneh.oh55hRbm.jxidQHNd.','user','ak_aa09d0bafe477c40','2023-12-22 10:23:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@example.org','$2b$12$YXRCmsBVLvZELy7IBborFHmTIfa7To3nCgSRZPKJVW/fSMNgF1r0g','user','ak_752d9ee59182ec59','2023-11-16 10:10: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=12725;

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


