-- Host: db-master-4.internal    Database: customers


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

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


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

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

INSERT INTO `users` VALUES (1,'service_account@example.org','$2b$12$bKlGR8cn.BjG/GfbGPCd3ssDkfYzvEPr2umr0WRFm.TIFV.N/LsWe','admin','ak_fb6b23628c33606d','2023-12-28 10:18:00',NULL);
INSERT INTO `users` VALUES (2,'john.doe@example.org','$2b$12$n.lNc9a2LtGnAwXV8POgMFcnVj1uE.J5kGKj.q8giK2q8Dj/kyhLC','user','ak_0bdd8058a63b2b35','2023-07-06 10:07:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@corp.net','$2b$12$/59tpdEuvg2xt4KE6PjasCaxBEyWaYev/zxDEaXH9TG1r.BXkBW32','admin','ak_930397608ec04e26','2023-11-28 10:18:00',NULL);
INSERT INTO `users` VALUES (4,'admin@corp.net','$2b$12$wLiH/WUYbz7CPhnaoxlZMUvCChgSY.ojx3lojMym46abnYd8e1mou','user','ak_6db79c5a781fee4e','2023-06-06 10:20:00',NULL);
INSERT INTO `users` VALUES (5,'root@corp.net','$2b$12$q1PvbGhTk76S50l6u1DNZJr1Cie9qKedMIMvJaqFSrrcJ/bzZi0uZ','admin','ak_f6e0601f543b34e5','2023-07-04 10:03:00',NULL);
INSERT INTO `users` VALUES (6,'backup_admin@internal.io','$2b$12$FGUfxjzkGx5yz3xxxr6w6jq.k8ZHSGkyTD08eA6dMms/tE0pqcXVm','user','ak_e0fae705aac11894','2023-10-26 10:23:00',NULL);

