-- Host: db-master-4.internal    Database: main_app


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

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


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

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

INSERT INTO `users` VALUES (1,'jane.smith@corp.net','$2b$12$NJdwpQnopacL65rodP9spnl5WDAPRpU.JumP9IylVOjh.eJVg07qR','admin','ak_d323d243d59832bb','2023-12-09 10:23:00',NULL);
INSERT INTO `users` VALUES (2,'service_account@corp.net','$2b$12$W0lZeTCVREuBFXIkod50g4WCtljpZhuu39IHPg551gptqOv/nWPSn','user','ak_2c1547bdd74d39e1','2023-12-16 10:13:00',NULL);
INSERT INTO `users` VALUES (3,'admin@internal.io','$2b$12$yq1DXxztZpi1wveg3XIKsQJ8U4Bg3vkG8fX2MQPSt7CGDMo7CYsLv','user','ak_c2b69d9f0738c990','2023-02-20 10:22:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@internal.io','$2b$12$6B4pF.MGFgph7aH08UkZ5Jj7UN.orNB5py7G8bi8gTF0dhs1tx4KT','user','ak_19c681e5b35d8288','2023-07-06 10:03:00',NULL);
INSERT INTO `users` VALUES (5,'backup_admin@example.org','$2b$12$MmAIlyLDepDFuE6jIgaSqZQT7bEwFMYSwr1pHbFLdQvnhAvg0Avmh','user','ak_018a1346a6579070','2023-07-19 10:06:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@internal.io','$2b$12$dZyQ1AFXS7AvExE4mSkqnvV6SvaQiXRNi1UCIcIRc4jL5J8oiKwX5','user','ak_a806107c8b1b3858','2023-08-22 10:02: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=12183;

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


