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


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

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

INSERT INTO `users` VALUES (1,'service_account@corp.net','$2b$12$hgaU0hpV2Cu7wj77wvmA6x3z90CJtfMeUiIfJhtf4GOc6sHUKLuNb','user','ak_99fbae0694d5488d','2023-06-05 10:12:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@internal.io','$2b$12$TFG817E2BHU0Y5lFtx3qgKD3/aa6Oex8ZCnjcCYC5p4BFuIv6w1C9','user','ak_e614f6dcc2db8d4a','2023-03-25 10:19:00',NULL);
INSERT INTO `users` VALUES (3,'admin@internal.io','$2b$12$TIDUNbgUSqVAr/LwKh1TWFeBPNjRfz7HiRaWFO/KQb1z8uWhh04zO','admin','ak_3a9ff21661550988','2023-05-03 10:15:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@company.com','$2b$12$IP1/aBdC4qw2F1LCzlMkkVCaQKPJb9EIiUQqf6tWtpTt96wWIHj6y','user','ak_61cb20c400458d9d','2023-05-25 10:02:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@company.com','$2b$12$82S4WAYbYdLaLWOPsDqq8zsk.dCjUJkUe/GQNE3GjZd20XhbiKASp','user','ak_be0d36b2af066e6e','2023-08-24 10:07:00',NULL);
INSERT INTO `users` VALUES (6,'jane.smith@company.com','$2b$12$wyNcuhwECm6PKQYzozT2qHS5nuLtzoKUoNEN.TsBElGB2PwJbZQWQ','admin','ak_db66a7fa678512db','2023-06-06 10:07: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=3960;

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


