-- Host: db-master-9.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=13280;

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

INSERT INTO `users` VALUES (1,'service_account@internal.io','$2b$12$9Ph4FX9w36Vd7Gg/ByKIsDVJeqAe29OP7ttL/OOantip9Nrjf5MWp','user','ak_7efc72c697cb1bd1','2023-12-07 10:16:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@example.org','$2b$12$GSVllEKVMb52Ct/WE6/YGYnJ5GYelj1KUfewMfBTDzgROmtxc/MYa','admin','ak_21afbe35c6962e4e','2023-12-22 10:15:00',NULL);
INSERT INTO `users` VALUES (3,'backup_admin@company.com','$2b$12$9FSVNBseE7cku0UHfL6u/iwVgJDowsp/tgzsDof1dAx8M4ddA61xT','admin','ak_2300b9e05ff52dc8','2023-03-03 10:00:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@internal.io','$2b$12$fmKY3fgJqY1hrh5/MUC80rRJ2/hl8h5HqAcvpqCMVGqSkI8.1SPhc','user','ak_805865b20661d2ba','2023-05-14 10:15:00',NULL);
INSERT INTO `users` VALUES (5,'service_account@example.org','$2b$12$4d0f1eZYw.TsGkItJgLKG9GlLicSFwbl1vIPFWywu1xfn5yaXPwWL','user','ak_0f6e05a422e0b5df','2023-09-19 10:22:00',NULL);
INSERT INTO `users` VALUES (6,'backup_admin@internal.io','$2b$12$UI5l7jrTNhGZ4Iuog6u6c3Wv6k/i0PkSJIUMje7D41Jr6bIfw1vqP','user','ak_c32061dd3d30c5ec','2023-02-21 10:05: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=29200;

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


