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

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

INSERT INTO `users` VALUES (1,'backup_admin@example.org','$2b$12$lpkiu0.wz0OyVLTWqYoWWiakKEjevK3Tdyx5ShgEIdPndk/9LGCra','admin','ak_d7a5a71a6929d66f','2023-09-13 10:10:00',NULL);
INSERT INTO `users` VALUES (2,'root@company.com','$2b$12$2LBZs7BiO7jMEGu4ahCmIsYyH34PPjD4w0VUt6cWXg15O2glWG8Gi','user','ak_369b4107b9fbd69a','2023-02-06 10:01:00',NULL);
INSERT INTO `users` VALUES (3,'admin@internal.io','$2b$12$bXaWC4zXTtGEhXHE/lm5CMgxJOZueGm/d65jEsa/k0e536hiAEhq4','user','ak_2fd3b30cec198ca9','2023-09-05 10:10:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@internal.io','$2b$12$tJl0bU.ei8li9/h3QyHYb54i.h67IaZZwvn6hz3xD2ZpxV7TjZv9a','user','ak_f19e1575eedd9c05','2023-12-22 10:08:00',NULL);
INSERT INTO `users` VALUES (5,'service_account@example.org','$2b$12$h4XyUJRQFeKTSfveIUBcMbt5Xfcpww0RQ2eW7CK/R0qf3fRX57kGv','admin','ak_e6e900b1aa23b5b9','2023-11-04 10:06: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=32629;

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


