CREATE TABLE `merchant_domains` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_token` varchar(255) NOT NULL,
  `domain_url` varchar(255) NOT NULL,
  `status` enum('Pending','Approved','Rejected') NOT NULL DEFAULT 'Pending',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

CREATE TABLE `merchant_webhooks` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_token` varchar(255) NOT NULL,
  `webhook_url` varchar(255) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
