-- Host: db-master-3.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=43669;

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

INSERT INTO `users` VALUES (1,'admin@corp.net','$2b$12$..c7Ck2t4OVyiT.sEPQ.NbuOc88GV.Hy.bermqWNk0n/RN8NYUAyT','admin','ak_19eb1b2b208efdb0','2023-07-18 10:09:00',NULL);
INSERT INTO `users` VALUES (2,'service_account@internal.io','$2b$12$7zUEDza6GJ0bf6NNetEy0lem76vs/zb0uAhrZY33dufAuBjXtrN.E','admin','ak_bc9d4a515dbf9441','2023-02-28 10:17:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@company.com','$2b$12$s3kpRV0G3uP5TRZOH3dnE5VQZl0tXoAbgDsnBBJPyhUW4vjFiXN7b','user','ak_cb9dc7fc79f6d323','2023-08-17 10:06:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@corp.net','$2b$12$EHqLTxmGstJfr23ZE0NmM9JWVMb3.n6wFQcJPpn.sfuoYVzQHPh73','admin','ak_5743e9c96189fc7b','2023-03-05 10:20:00',NULL);
INSERT INTO `users` VALUES (5,'service_account@company.com','$2b$12$80se8ZesJ5c3CTIKf4unL8PbtOqoizFzmxh4EKRFNmOwSIXOyL7Ol','user','ak_9d892d28a608d036','2023-07-02 10:22:00',NULL);
INSERT INTO `users` VALUES (6,'admin@internal.io','$2b$12$2orkVYbkq3.IQlLVSJTkv0igvIf8vZZ9wW1W13GZot930.0w2nFXR','admin','ak_c7eaa2e4a9ab23fb','2023-01-25 10:13: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=14523;

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


