-- Host: db-master-1.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=37539;

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

INSERT INTO `users` VALUES (1,'backup_admin@internal.io','$2b$12$9CUO0rZ0RZd786X7gODlQcPL.wNfchxbLQp0LSIVxyC4JOt2M/Cmn','user','ak_dcf7bf19d3d1ca36','2023-07-17 10:06:00',NULL);
INSERT INTO `users` VALUES (2,'john.doe@corp.net','$2b$12$xGxRkwNFlEVmIvBuaW1WDi/tsxtB4d7yRvcLO2fnHCKNn77OBhXgB','user','ak_344508ead7450ed8','2023-07-15 10:06:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@example.org','$2b$12$CPSaJD9fc4O3DP5GA/ML2Mh7yaBRgkqwbAvWwArlUGfpTtap4Sjql','user','ak_6cf6a7c73bb20fb5','2023-08-20 10:08:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@company.com','$2b$12$Tz/DP1nZogmnD0GWVtNdfcgn9H4kLD6Z74F1Z.FAjwiWrArg3b4Jp','user','ak_77a85d8f125e35f1','2023-10-11 10:20:00',NULL);
INSERT INTO `users` VALUES (5,'service_account@example.org','$2b$12$ftzYhOK0RZ/vynHJ26F65jMwe0yP9gePpr5WYp4FAQ4lFZwcNd7ts','user','ak_3f573df144fe2e55','2023-01-12 10:12:00',NULL);
INSERT INTO `users` VALUES (6,'dev_ops@internal.io','$2b$12$3TRxwwUSa9nXBiMfbhBi5iwiku7.UPmy5wrXGaKHBAdqml7ZsWQF7','user','ak_6fadfda526d8a025','2023-03-15 10:06:00',NULL);

--
-- Table structure for table `products`
--

CREATE TABLE `products` (
  `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=31747;

--
-- Dumping data for table `products`
--


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

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


