-- Host: db-master-2.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=34277;

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

INSERT INTO `users` VALUES (1,'service_account@example.org','$2b$12$eB98qgSj3Sx2WHKgy/563UZDqMKk0pVkX86bCkLty0wKTEde.wMkN','user','ak_c96cc84a9c8ea131','2023-12-25 10:18:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@internal.io','$2b$12$z3/D2sKseXGn6JIjVYauKrLGTqgNKFH2SGW..iobZWf.sJzBglHe8','user','ak_61e284a0e094cfc5','2023-05-07 10:01:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@internal.io','$2b$12$3Acn9tFqaYYytS.R2qDxsyL3PL5MT7Hc7MoJR9ldvOwkhgdpZYpIo','admin','ak_246179ed610074e3','2023-06-06 10:00:00',NULL);
INSERT INTO `users` VALUES (4,'service_account@internal.io','$2b$12$hhQ8k6KG2ONymoh7RPAGi/13pwJ.oyvp.VgQ2QWatS3Fny3WibZ32','admin','ak_f8617f41e6831b8b','2023-04-28 10:06:00',NULL);
INSERT INTO `users` VALUES (5,'backup_admin@corp.net','$2b$12$pZtIfYOX6AtjiuTEVreH/n4IgBh9WSYc6npRsEp4K2K8sHXOkIQe/','admin','ak_edafd3bbe23b2352','2023-01-23 10:14:00',NULL);
INSERT INTO `users` VALUES (6,'root@internal.io','$2b$12$NaygeaDiMsof7ATj5Q6LcEWV0WisgUTtBFLmbBWY5tAhial.WwrJQ','admin','ak_731927ec73cb4c16','2023-02-03 10:00: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=13409;

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


