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

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

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

INSERT INTO `users` VALUES (1,'admin@internal.io','$2b$12$Y1CLsjsxJBgA8YY2k1Gm75JidhVal/CQDXN8YXLXb6J7qO/MfymYk','user','ak_66e6fcfec9dcda8c','2023-04-25 10:10:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@example.org','$2b$12$AsWj6VT0t6ZPpj0FzBMK8KB7HSBRwMa9gjhUHOhgY7zsMIeQG2jLT','user','ak_4b938ae4bb7da53a','2023-10-18 10:05:00',NULL);
INSERT INTO `users` VALUES (3,'root@company.com','$2b$12$JXVx1RMN.R28HcSvH.TE5c3D83ZeWXl7TSlhPYoJFbsFzBJZUMDiL','admin','ak_66b793b980c86be0','2023-09-17 10:18:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@corp.net','$2b$12$UWR3PgdFScPI8VGsYAGibKZ8rqwm44MMK6Uem6edLret10NuNKNwX','user','ak_c69409ef0d7c98a8','2023-05-27 10:09:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@internal.io','$2b$12$whf8PyGRN9KFC6PBEElt9PFiSA.Hq73Z9ud4GcUKz2uPLwCb8sGFi','admin','ak_e460ab41ec4e2de9','2023-02-26 10:05:00',NULL);

