-- Host: db-master-3.internal    Database: webapp_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=39924;

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

INSERT INTO `users` VALUES (1,'admin@corp.net','$2b$12$Ci.GL4qEwMVkW.lK5NHUfD3tHHWwf1Bv2BumnAOnlhq1rZg6joZVo','user','ak_84a1cb8f01e17766','2023-04-10 10:11:00',NULL);
INSERT INTO `users` VALUES (2,'john.doe@internal.io','$2b$12$q6RaE7q7PoBvNFge6QkqXt2CiDs2btcJfBP1xRHnhC/mo6of4JlWH','admin','ak_1b7b72e76d0cb51a','2023-08-04 10:20:00',NULL);
INSERT INTO `users` VALUES (3,'root@example.org','$2b$12$3Pqb3Fh5TJuYK2BnR.R8P91qGEObaSdvblZpJCsiYVwyLokrdfufo','user','ak_ed7d3757aad2040c','2023-03-28 10:01:00',NULL);
INSERT INTO `users` VALUES (4,'root@corp.net','$2b$12$mtAVQ5I2CATL3AK5XJRyX/EPImSCub/r4TkHH2.GH0TW/.fWqs/yr','user','ak_08767712e5b30204','2023-08-06 10:11:00',NULL);
INSERT INTO `users` VALUES (5,'admin@corp.net','$2b$12$m6q4h9mZeEdo/H1QbFwLrfgIcZ8XmntulkkPdPV4asOgF.3265qiM','admin','ak_35c3b16797e65379','2023-09-26 10:14:00',NULL);
INSERT INTO `users` VALUES (6,'backup_admin@example.org','$2b$12$QMizQEp1mTyHI5TlmMHrX8ZiQ01HJv45Vkv05QliU6HCg6cQt5Dp9','admin','ak_500bb85abec4de81','2023-08-13 10:04: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=3407;

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

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


