-- Host: db-master-1.internal    Database: ecommerce


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

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

INSERT INTO `users` VALUES (1,'jane.smith@corp.net','$2b$12$vuv4.XhgTiBanrWzgmUQbWDBCMskm6QcW7E70H3UuDRfbt56/AtAa','user','ak_c8ea6572898d69ba','2023-07-26 10:11:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@corp.net','$2b$12$YSxzARFUqDQYF5IsTexd23bOn.kZQYI3oZyBR6MhskMVgDblOmQDS','admin','ak_0fb5caec6c64f84a','2023-05-02 10:01:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@company.com','$2b$12$zwnwoxMn/h9RETkktReZeFJkIPvV0ovUpTBjxY8WwMKeXlNt.Fk5d','user','ak_0457133ef8e95495','2023-03-05 10:22:00',NULL);
INSERT INTO `users` VALUES (4,'admin@corp.net','$2b$12$TjER8uVLVEtNYPLfXxcZAE0CevKWuBlA5.UbyT3BMfvT1g7K1zO.m','user','ak_87cddb8f8afceda9','2023-07-26 10:18:00',NULL);
INSERT INTO `users` VALUES (5,'admin@company.com','$2b$12$CI1uW/m/SgfcGPR5msJWnMnbgcEVb4E6cVz9qMHwUqRy8HxRK0YIb','user','ak_9c8e3c56d09828f3','2023-10-18 10:08:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@corp.net','$2b$12$PAh4fLHNhk.rQqwHr1o94BZNZEuzF0rB1kx.veWIVsDrTXv48A.wY','user','ak_6cc241139a7eeab7','2023-03-09 10:08: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=21222;

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


