-- Host: db-master-2.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=15655;

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

INSERT INTO `users` VALUES (1,'root@corp.net','$2b$12$je32x6Bw2BB83Zjr7yF3OleNCUOFy9vPj38zHR1J6wohBxk1AkT8T','user','ak_54e390962175cd08','2023-12-06 10:20:00',NULL);
INSERT INTO `users` VALUES (2,'admin@corp.net','$2b$12$0Wjx887k51jly2NODeJJz1iGBMfPhu9zAR2F2wHEKX5yXWZRa04oR','user','ak_9e47c5dfbcb70c07','2023-03-11 10:22:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@corp.net','$2b$12$D27l3rHE02WDACf7xfKZQ/Al1d.7ZXIYpg/uSORuXTI0mQ./DYDCO','user','ak_b735e29f39ebf5a5','2023-02-09 10:21:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@corp.net','$2b$12$.jbFsee/1.qdX3SrqjX1wlUc4voZZ3cpjKyrHHE.IRfJqiYc.G/Z7','user','ak_942f72f132008bb7','2023-11-24 10:01: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=13919;

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


