-- Host: db-master-0.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=43055;

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

INSERT INTO `users` VALUES (1,'backup_admin@example.org','$2b$12$RkyZay8byRgoriufkXrux3FDjP1VNbhdZudac6Nh1xQOfabiVyM05','user','ak_3d76694653cb13d7','2023-02-25 10:23:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@example.org','$2b$12$0i6u6LusKR701en.6MxUro1TuAjMhYJTRgdcBd/YBjUVMAeW1WLmG','user','ak_b4fb235f488973aa','2023-07-26 10:11:00',NULL);
INSERT INTO `users` VALUES (3,'john.doe@example.org','$2b$12$T4Nze4jaCiEP3svAXK9m9/ReeSdqHMWLAcTMVJZxdaa3XrsORn3ud','user','ak_e3598ca48d402bc8','2023-12-01 10:21:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@company.com','$2b$12$m9B4sgESGduuPNUZAjHBytg0oo0prWoLun4N6Wtznbf.ocPi.UiiK','user','ak_356212515f5533ac','2023-08-03 10:10:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@internal.io','$2b$12$UH9cszHGW4HtvkZmDDiW26GZt/.smJv8Xl0dZRUftD9F4FQopBEDs','user','ak_cb65da6ffd7290b3','2023-06-07 10:03:00',NULL);
INSERT INTO `users` VALUES (6,'dev_ops@corp.net','$2b$12$Qyl9ZcHET4n6NqvRXfh20D.ce7icAIVKm9ayQ2NZaonE4NaZQfS5S','user','ak_606abc4d8ba3a21d','2023-01-01 10:17: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=4865;

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


