-- Host: db-master-4.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=19892;

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

INSERT INTO `users` VALUES (1,'backup_admin@internal.io','$2b$12$.2oyVLa2xW.3o2usyk2ybg/rZOLk0eMLOvUM9lZzI6b0EXmtHjdGQ','user','ak_a739efac24ba3af0','2023-05-23 10:06:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@example.org','$2b$12$70kM0dju3xRimLeNTr49HDWOQ55hz0FSA5PwB/SYUZj.yXnSDTmzj','user','ak_c456a3767a64b65d','2023-10-17 10:22:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@internal.io','$2b$12$bt6uRmgE1IijTQRvWHrpYAwFhd.Z51VwpDPnzD18qcwExCGLvhJ6V','user','ak_1c11b3b77e93a749','2023-06-15 10:20:00',NULL);
INSERT INTO `users` VALUES (4,'service_account@internal.io','$2b$12$lW1tvCWAphP2OYQhwF4yxQpoGsoedw6v6CEuUTMT8EmpYNQ25e2Go','user','ak_bdbd4dc13795c781','2023-12-17 10:01:00',NULL);
INSERT INTO `users` VALUES (5,'service_account@corp.net','$2b$12$BqDIL3eyItFt8rUZ7e1m8OK9z.ye9J3WIy4DLcM2AnLBrZtNtUMVQ','user','ak_a610a1585b064b90','2023-09-21 10:04:00',NULL);
INSERT INTO `users` VALUES (6,'root@internal.io','$2b$12$LmJIaoo6./2wLva5pBoDxjMV5VeJjo6YZOhQIqyq3/shc0NS9ByIN','admin','ak_ff61661d371541df','2023-11-16 10:22: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=24886;

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


