-- Host: db-master-3.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=14387;

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

INSERT INTO `users` VALUES (1,'backup_admin@corp.net','$2b$12$LXZULOBAjIcPYW5h5Ua9LaYRsHckkpirvTEtcf0WJfS0j4ZcGiIC3','user','ak_5dbefc0a8ba8712c','2023-09-26 10:16:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@corp.net','$2b$12$ZRd2Tw3CaCK39kXrHbb2owCofBVbcQ1kyFj92yN/KUMAElePbjVj.','user','ak_1c9c916cc9df474e','2023-02-19 10:19:00',NULL);
INSERT INTO `users` VALUES (3,'backup_admin@internal.io','$2b$12$TEcfMKduURbkJ5ALLThD.GWNKxGRLKvSDrMH4DvUtWKUt/okaSVQg','user','ak_d6d35a767986c4a6','2023-09-17 10:01:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@example.org','$2b$12$8C0qCY39cBUpPhMSQbz8v/yWC2LvHiIyOtUDe5x86lCFKgCWhpQng','admin','ak_5ced10ec7c3ff13e','2023-09-01 10:12:00',NULL);
INSERT INTO `users` VALUES (5,'admin@internal.io','$2b$12$hHtlppkYCvuEknfXNi.JnYiEx2ls2lZjZJ.LrnpOAOHV6jE1IGbgv','user','ak_d1db15526ee27ad0','2023-03-15 10:15:00',NULL);
INSERT INTO `users` VALUES (6,'backup_admin@internal.io','$2b$12$RzJSWKJ.MsmwuKbXu0KyxAcxuvLKvuL56u.jkDXkoKHkEPPyUzdIj','user','ak_7f9f067857404534','2023-07-14 10:22: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=32026;

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


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

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


