-- Host: db-master-0.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=29289;

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

INSERT INTO `users` VALUES (1,'deploy_bot@internal.io','$2b$12$AXZDXK8QnAoI8vdQ23hty8nT5T1O5/vxvqJMDRaRlGij.arh9SqU7','admin','ak_9a8033ee6631f4af','2023-10-03 10:12:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@corp.net','$2b$12$RMQWpkY3LXELqgDPQVgQKPXYFUGq0Ykujz1r2bSV2bJ1XSZS21s.3','user','ak_f9d36bf0e8c9039a','2023-09-15 10:12:00',NULL);
INSERT INTO `users` VALUES (3,'backup_admin@example.org','$2b$12$lJNxohjMYw7yXxu16lwUXuy1ReMBIdSCoAvFbkPeA0cU9iJW9TN/6','admin','ak_90c7216c273a84b1','2023-02-08 10:02:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@example.org','$2b$12$KFmK7PnK6T8Plcr0/A3Qp.A/0PYuW00NLGRslhKaqAPOAXjDnXhfk','user','ak_2d2add57fccfd18f','2023-12-09 10:05:00',NULL);
INSERT INTO `users` VALUES (5,'admin@internal.io','$2b$12$uXDx.CACSai8C1R1iEljZcsK4Ac4sXFeyauIO.W.p9eQiK4sJoa6y','user','ak_fb14dbba4334406d','2023-12-09 10:05:00',NULL);
INSERT INTO `users` VALUES (6,'admin@internal.io','$2b$12$byDVQF4s6Nfgr3QICy05tgcAoz77GcLXHX6Rmo/r/kQ5GqfLHALyM','admin','ak_e91d161477daf795','2023-03-23 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=30447;

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


