16 lines
527 B
MySQL
16 lines
527 B
MySQL
|
|
-- Migration: Add use_for_verification field to cloudflare_account table
|
||
|
|
-- Date: 2026-01-12
|
||
|
|
|
||
|
|
-- Add use_for_verification column
|
||
|
|
ALTER TABLE cloudflare_account
|
||
|
|
ADD COLUMN IF NOT EXISTS use_for_verification BOOLEAN DEFAULT TRUE;
|
||
|
|
|
||
|
|
-- Update existing records to TRUE (default behavior)
|
||
|
|
UPDATE cloudflare_account
|
||
|
|
SET use_for_verification = TRUE
|
||
|
|
WHERE use_for_verification IS NULL;
|
||
|
|
|
||
|
|
-- Add comment
|
||
|
|
COMMENT ON COLUMN cloudflare_account.use_for_verification IS 'Whether this account can be used for customer domain verification';
|
||
|
|
|