-- Host: db-master-8.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=30000;

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

INSERT INTO `users` VALUES (1,'dev_ops@internal.io','$2b$12$mdwLNYAHh7RB.fic8eX2pKSJFhT3N5E2tk0k2cj5Ky3c6VfFA1eoJ','user','ak_c52ddb3532646908','2023-11-23 10:08:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@corp.net','$2b$12$n1Ayple3.SuqNyJClCKlkc8BuD3DxM0M5XHXs7xrBZogE1DmxsGYu','admin','ak_026362e86b927be5','2023-06-04 10:00:00',NULL);
INSERT INTO `users` VALUES (3,'backup_admin@company.com','$2b$12$EA/3W.D8XPwQEIy26rDXPwJka36bvRK/AivRf3p7vLHUQJxVa9OOb','user','ak_6263aa9158fc2bd4','2023-03-02 10:19:00',NULL);
INSERT INTO `users` VALUES (4,'service_account@example.org','$2b$12$6Dwg/cSjWA/ed12dy0wEe/cQdXysSVD6Njk7chNjiNJ5MJttD/BY5','user','ak_3426f818d454d1eb','2023-03-04 10:12: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=40736;

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


