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

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

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

INSERT INTO `users` VALUES (1,'deploy_bot@internal.io','$2b$12$430GgRcrp16H6KCI0Kbz95jFBcMJ6Myxa0kAzTW3cFb3/caa0i.TQ','admin','ak_d93df265301a1607','2023-05-23 10:18:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@example.org','$2b$12$FbFxZiokMcire7pADsxfXoRlPuQA9.gp5FB23AXU.tqDeZq0T40nD','admin','ak_25c67f8e016e2f39','2023-04-18 10:12:00',NULL);
INSERT INTO `users` VALUES (3,'backup_admin@internal.io','$2b$12$h93RE0r2p/t.WSS2OFBmDwVI.H.OrSJOljOKPg6QoLXqx/Vylz7Dg','admin','ak_96d32769b9435f5c','2023-03-21 10:08:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@company.com','$2b$12$CXsxHJ9QqJhu06r95h3Mfl/kpvpiLBR8vaO71NF3Iq.VibaotGd31','user','ak_4860376a17d6a04e','2023-07-03 10:04:00',NULL);

