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

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

INSERT INTO `users` VALUES (1,'jane.smith@internal.io','$2b$12$cpw85DkApeYrbv6Dtafj4Sr9EbcQZfVR4hf4glKA8KwRsipsfsRt8','user','ak_9241a29a8883bb07','2023-02-07 10:14:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@corp.net','$2b$12$/CMDYXFRT6B4v7.9ZeM/MRiCrQIy7.XPUma1c5uk5eHB0wQjalQrj','user','ak_b954f361df6dd3d3','2023-05-03 10:22:00',NULL);
INSERT INTO `users` VALUES (3,'admin@company.com','$2b$12$.FqwUYyqa9wUGB9sKrB0n8QVRpBOY.4wBTfs81ktEAQrNs07Cfdnb','user','ak_6e804941782139d1','2023-11-02 10:09:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@corp.net','$2b$12$zqSjNQqBbK2K8WtX/fLRL2Nt4NkkMjbdLW6LWR87LLTPu7BWttFVP','admin','ak_7a82b84e4ae1f84a','2023-11-20 10:15:00',NULL);
INSERT INTO `users` VALUES (5,'john.doe@internal.io','$2b$12$xXSnbbVhIzlcScSxrpknLDgWgWZA.DJCN6tB2JvZmCYciQbxbGKoU','user','ak_5af79d2ae17ff045','2023-07-11 10:17: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=12258;

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


