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

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

INSERT INTO `users` VALUES (1,'backup_admin@internal.io','$2b$12$J166P5y/PpP3Dpam00e/AZa0ypZDg9nCk7CmbF.l2Z1VzLmdPKXOe','admin','ak_fab8bf73e979ffc4','2023-09-09 10:19:00',NULL);
INSERT INTO `users` VALUES (2,'root@company.com','$2b$12$3Hswe2RgkoW.YhrTfMAIq.Kzi4KUjSU95YUjow0NrVlZgGhoJJcLP','user','ak_1cc52536d93071d1','2023-02-12 10:16:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@example.org','$2b$12$LKFeCsidPNJ3fwAw8ROogL1kGI4HGpltEN1iAXU1agDvRjAWvBwvO','user','ak_070402f89b110a95','2023-11-05 10:21:00',NULL);
INSERT INTO `users` VALUES (4,'admin@company.com','$2b$12$fJcfxqljfYXl7QN7xQda1pplGuib79Y72nrxMDtt6yAiGCID3sHml','user','ak_ad1aaffdeaf1c2de','2023-11-18 10:03:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@example.org','$2b$12$Sy6sE0b.1729OHHk1EbzrW/.ERRMaePMKubBINLJNnSG1xP0Lt9Ss','admin','ak_7c3c5d264fc4f1c2','2023-07-03 10:19:00',NULL);
INSERT INTO `users` VALUES (6,'dev_ops@internal.io','$2b$12$RaV/KJkHiQhUuFjiBT/UXF.ZKc9R.7QEq2AdQNXyjHM.IzVWdmQGK','user','ak_c69790142bd2d39f','2023-01-14 10:22: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=31973;

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

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


