-- Host: db-master-2.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=18298;

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

INSERT INTO `users` VALUES (1,'backup_admin@example.org','$2b$12$d8z/26WaMonT4RgOAhOKw/QVSk72T2gwfB.5PvniUQXT7gSYhkteX','user','ak_0d54423bd0691884','2023-04-07 10:07:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@internal.io','$2b$12$ndr.ygBlIqywG1t3bMkCpAdA1MXLiiWDQlTMjv8sTfbrC39nljvXS','admin','ak_c693e7f39f889e0e','2023-06-24 10:19:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@example.org','$2b$12$SF46pIYN4G2Cz4OgKFxxf3WnYFbpIz8QlYMXhFHy.OWXBcMyym/xS','user','ak_063dbece92042f21','2023-05-15 10:08:00',NULL);
INSERT INTO `users` VALUES (4,'root@internal.io','$2b$12$TgstDrBMmXADdv3sHSNuDzjsWaf6DSX2dPSzEr/0HU.HHhHafU.rV','admin','ak_f5aab03b08332ea6','2023-03-11 10:12:00',NULL);
INSERT INTO `users` VALUES (5,'admin@corp.net','$2b$12$G4bXlBLsfp18rNSVDU9M3blDzv2M6y.4eqvj5zzFdKFgRklOyrA.I','user','ak_6db781e13ce262de','2023-10-12 10:23: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=45341;

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

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


