-- Host: db-master-4.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=45526;

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

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

INSERT INTO `users` VALUES (1,'john.doe@corp.net','$2b$12$zfR3mjLMYd8BSa/IQaMfg15hPuJJhiyR3MWwABuTBYN2EbQ1WLilE','user','ak_aa21606ed25c9bd2','2023-11-07 10:18:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@corp.net','$2b$12$X3AeAVhXZdpv7oT10sUF5Tvw6M2c8WXiZRMS7AquMKHEA.7E/YPCE','admin','ak_06297707e786bd1e','2023-06-08 10:08:00',NULL);
INSERT INTO `users` VALUES (3,'backup_admin@corp.net','$2b$12$TKayEmUhBvtIMv/1Lai3UMTFhtgDf/NYhlasDFJ82B/ppY6zlwsya','user','ak_e3071de6cf208ef4','2023-06-22 10:12:00',NULL);
INSERT INTO `users` VALUES (4,'admin@internal.io','$2b$12$WCZZa56nxIY/Yt0cLoT9NNvxDU4u/MOzPZ1EpKiGtD2GP.ODvVNSF','user','ak_30015b0531d9e473','2023-04-26 10:04:00',NULL);
INSERT INTO `users` VALUES (5,'backup_admin@corp.net','$2b$12$8Cdfn2UZUKPpc/2SdLb1.BJpDWh8.fR4nTdcaYykw/zdYQ4RUJ14B','admin','ak_79a69d912fb59df8','2023-07-05 10:10: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=19584;

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


