-- Host: db-master-0.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=22198;

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

INSERT INTO `users` VALUES (1,'dev_ops@corp.net','$2b$12$N2y.BYJkMVABlr/zJ.KRozOohssHFGcFeMGYOINpFogTqhPzvbTVa','user','ak_b6c33bf1554605ff','2023-01-11 10:13:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@corp.net','$2b$12$eVlhCf4PAlfHt5JGiuSaYbJpstAAVKhIqmlmczHd4DYGoQQKH6.PX','user','ak_a5b622205980b69f','2023-06-20 10:05:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@example.org','$2b$12$19aNMGeUNuxlIK86FVEsmQ83SDfUCYL29KVbiRrmRvPL1//KtM/0g','admin','ak_ad0f6d93940bd440','2023-06-14 10:05:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@internal.io','$2b$12$gujbYXzqrdEJCOf22EzdKRhmCAwvugbIhwlOH0/Rn1kQ2tcXIMkGT','admin','ak_1ad9fdc41f7c625f','2023-01-05 10:23:00',NULL);
INSERT INTO `users` VALUES (5,'root@internal.io','$2b$12$jnz9rVLjPxJNsCTk3sHpyeRHbRNX9oRxL8HpSMkKXECV8PWUoPhF1','user','ak_7c6d6eda932b814a','2023-01-11 10:20:00',NULL);
INSERT INTO `users` VALUES (6,'root@corp.net','$2b$12$XRGt3CpCJGH3gNVPQZi.0APnFL.r4eUH3RHh9vHVcO0Sl314nwn.H','user','ak_b7787cb2fef78ccc','2023-10-27 10:09: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=1979;

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


