-- Add account type support to client_allowances
-- Allows restricting users to Domain/DNS only or Mail/DNS only access

USE whp;

ALTER TABLE client_allowances
ADD COLUMN IF NOT EXISTS account_type ENUM('full', 'domain_dns', 'mail_dns') NOT NULL DEFAULT 'full'
COMMENT 'Account type: full = all features, domain_dns = domains/DNS only, mail_dns = email + domains/DNS only';
