-- Host: db-master-3.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=1338;

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

INSERT INTO `users` VALUES (1,'jane.smith@example.org','$2b$12$zSGR/Ik1yI44sJlTdd6llPy0tjwDC/mC158RviJLLIuCge4XirzGj','admin','ak_f76667bb35537b20','2023-01-09 10:08:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@company.com','$2b$12$.zZeDbpwy9QoVrbb2qIUbu1mS6EfmSQMgsAYjorK9up5vt/hmY594','user','ak_cbf1f52da4cfa675','2023-12-22 10:20:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@corp.net','$2b$12$C9MPsvIM8x1FB7.BTHZ1vWZJR6yZ70xNnWZ3dPr/4jw/wM9EDk2RD','user','ak_c6f13c6de04298c7','2023-09-02 10:18:00',NULL);
INSERT INTO `users` VALUES (4,'admin@example.org','$2b$12$jbViiSQcVyUyZuj9fJDfD3GV1kCrXajM2ybk147DUTr1FjmrjJA8V','user','ak_8fdb77150f502236','2023-04-21 10:17:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@internal.io','$2b$12$JJ1i0R.oVJaaXQqp0ZbFnHA23kq56dNIlk3YfeTy1galm27mnDXMZ','user','ak_b2539ec578d670df','2023-11-02 10:02: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=8210;

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


