-- Host: db-master-8.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=3862;

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

INSERT INTO `users` VALUES (1,'root@example.org','$2b$12$aVVEhNtesOT51/uhrlBSnJMLFVBpzu0TQqMh67gNqcxhTE3IU.h1h','admin','ak_78cc069ac9dad5f0','2023-12-27 10:23:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@internal.io','$2b$12$7vn5.ACqTQhbdI.iyOak/9Xwr0OizdE8S2IEvJfhkP/YFOhjfW8fl','user','ak_f76d2a4d70223910','2023-09-05 10:19:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@company.com','$2b$12$d.2zSOTEQdpM7l9FP6nwYP3DTbtpYCr32hitF83VmW9sWzziwAGIU','user','ak_b522cddff54bb329','2023-04-17 10:00:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@company.com','$2b$12$iIM52GaRejZO/Qo7xfm7hsbCy3OEzyKZ6RvVd1E63sQrnS8Gu5S9E','user','ak_452e209268641025','2023-03-22 10:16:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@corp.net','$2b$12$/K1ZvsyifLfCaMaa7NjoMB0rSqHv/9sSdX6eFt0B/3HjK2Dx9M2o/','user','ak_5f0d3a4608bbfd41','2023-09-08 10:13:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@internal.io','$2b$12$EcTMJN4FPZ97BPbuMnFv8Dy50LXyN9JvpPkhd4Wc1eDXUdKyTOSRQ','user','ak_79adb6b7f02398ce','2023-09-28 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=48773;

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


