From e149c56f767cbe6c31081b65160d6e24aa3508f0 Mon Sep 17 00:00:00 2001 From: oguz ozturk Date: Mon, 12 Jan 2026 16:48:13 +0300 Subject: [PATCH] Fix: Correct table name in migration (cloudflare_accounts) --- backend/migrations/add_use_for_verification.sql | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/backend/migrations/add_use_for_verification.sql b/backend/migrations/add_use_for_verification.sql index 104a626..4c1caf1 100644 --- a/backend/migrations/add_use_for_verification.sql +++ b/backend/migrations/add_use_for_verification.sql @@ -1,15 +1,15 @@ --- Migration: Add use_for_verification field to cloudflare_account table +-- Migration: Add use_for_verification field to cloudflare_accounts table -- Date: 2026-01-12 -- Add use_for_verification column -ALTER TABLE cloudflare_account +ALTER TABLE cloudflare_accounts 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 +UPDATE cloudflare_accounts +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'; +COMMENT ON COLUMN cloudflare_accounts.use_for_verification IS 'Whether this account can be used for customer domain verification';