-- Add preferences JSONB column to newsletter_subscriptions ALTER TABLE newsletter_subscriptions ADD COLUMN IF NOT EXISTS preferences JSONB DEFAULT '{}'::jsonb; -- Update trigger exists from previous migration to keep updated_at behavior (no-op here)