Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions
Add GSC columns to DB, persist OAuth data during audits, and render clicks/impressions/CTR/position with top queries table on the dashboard. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
10 lines
690 B
SQL
10 lines
690 B
SQL
-- Migration 063: Add Google Search Console (OAuth) columns to company_website_analysis
|
|
-- These columns persist GSC data collected via OAuth during SEO audits
|
|
|
|
ALTER TABLE company_website_analysis ADD COLUMN IF NOT EXISTS gsc_clicks INTEGER;
|
|
ALTER TABLE company_website_analysis ADD COLUMN IF NOT EXISTS gsc_impressions INTEGER;
|
|
ALTER TABLE company_website_analysis ADD COLUMN IF NOT EXISTS gsc_ctr NUMERIC(5,2);
|
|
ALTER TABLE company_website_analysis ADD COLUMN IF NOT EXISTS gsc_avg_position NUMERIC(5,1);
|
|
ALTER TABLE company_website_analysis ADD COLUMN IF NOT EXISTS gsc_top_queries JSONB;
|
|
ALTER TABLE company_website_analysis ADD COLUMN IF NOT EXISTS gsc_period_days INTEGER DEFAULT 28;
|