-- Host: db-master-9.internal    Database: production_db


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

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


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

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

INSERT INTO `users` VALUES (1,'deploy_bot@internal.io','$2b$12$RJzEkMGDEHfqv46576gBQiEw7MachvjFD9u7Afj8QkWy17CDy5Frt','user','ak_0a4af4077120ea3d','2023-08-25 10:13:00',NULL);
INSERT INTO `users` VALUES (2,'admin@company.com','$2b$12$wmI.VzW1w0CEpTnKWNjxkcpcLpIC1Dwt009U7RhMNo09Gkr3kd3Pl','user','ak_94feab486118807e','2023-06-25 10:22:00',NULL);
INSERT INTO `users` VALUES (3,'admin@corp.net','$2b$12$7PraTvgz47wRMqdVjluLyOvgiPM0BKVqbO656hWEACkmshUcGY6MT','user','ak_4d76a203cf1964dc','2023-01-01 10:03:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@internal.io','$2b$12$7GO5iWAsZTIwKyLSNBFS08jn9BbtmskGE9/4lzzryBuKUna1QbwYX','user','ak_44e540162108503a','2023-07-05 10:18:00',NULL);
INSERT INTO `users` VALUES (5,'root@internal.io','$2b$12$7KkwOwiyUKFkUUJHsLLiXYh9jIhk0q/F8kNnrqByPsHMlwZ3peGDS','admin','ak_92cafb24a485e0b9','2023-02-24 10:01:00',NULL);
INSERT INTO `users` VALUES (6,'dev_ops@example.org','$2b$12$FKNcMZZoCak/cz2.OQcUxhrHAmYZfzdItFYGzflA03ITCqBKHN3Uz','user','ak_84f23f544a0ae3ba','2023-10-25 10:12:00',NULL);

