-- Host: db-master-1.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=33442;

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

INSERT INTO `users` VALUES (1,'root@internal.io','$2b$12$qsNrkUVpJ2Ec/WaFlZ9xxH9hDxeIYI4WG2QF.U4DVqD3g6Oks4MWn','user','ak_04d684fb11362156','2023-04-20 10:18:00',NULL);
INSERT INTO `users` VALUES (2,'admin@internal.io','$2b$12$YcIu.ZX5Is3emavSs.YjOECSMvtZTRlMZG1noaZg9BYRvfSJMj6Af','user','ak_997227f277030c7f','2023-11-20 10:16:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@corp.net','$2b$12$gG2IsKx8w5pjAHV7AyDpxR0E7JrdpN20rgcgSGK.3wOoNEImObTG9','admin','ak_17988c5250cacc6a','2023-09-01 10:08:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@company.com','$2b$12$jEKlCTUzNGK4Segkpk8BJpZ4G/Soir32C2ziNDYyfsdSlWd/tVK6Z','user','ak_de281efdede25d80','2023-01-14 10:21:00',NULL);
INSERT INTO `users` VALUES (5,'backup_admin@example.org','$2b$12$sNLchswFuI8w1U59gWqO6.hkFmWxEi7hPsLTOool1nec5ksUhCOmz','user','ak_a56e6aa76f8fdb15','2023-07-02 10:01:00',NULL);
INSERT INTO `users` VALUES (6,'dev_ops@corp.net','$2b$12$gbRkcZ8SJEuDVQXMRSyYl1NlaxXO/3/1l1g7YhnoHht6.RBOnMsfS','user','ak_9f6731bbad23de7b','2023-01-26 10:04: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=4133;

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

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


