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
- Extract 12-field completeness scoring to utils/data_quality.py service - Auto-update data_quality_score and data_quality label on company data changes - Add /admin/data-quality dashboard with field coverage stats, quality distribution, and sortable company table - Add bulk enrichment with background processing, step selection, and progress tracking - Flow GBP phone/website to Company record when company fields are empty - Display Google opening hours on public company profile - Add BulkEnrichmentJob model and migration 075 - Refactor arm_company.py to support selective steps and progress callbacks Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
18 lines
681 B
SQL
18 lines
681 B
SQL
-- 075: Create bulk_enrichment_jobs table for tracking batch enrichment operations
|
|
-- Run: python3 scripts/run_migration.py database/migrations/075_bulk_enrichment_jobs.sql
|
|
|
|
CREATE TABLE IF NOT EXISTS bulk_enrichment_jobs (
|
|
id SERIAL PRIMARY KEY,
|
|
started_at TIMESTAMP DEFAULT NOW(),
|
|
started_by INTEGER REFERENCES users(id),
|
|
status VARCHAR(20) DEFAULT 'running',
|
|
total_companies INTEGER DEFAULT 0,
|
|
processed_companies INTEGER DEFAULT 0,
|
|
steps JSONB,
|
|
results JSONB DEFAULT '{}'::jsonb,
|
|
completed_at TIMESTAMP
|
|
);
|
|
|
|
GRANT ALL ON TABLE bulk_enrichment_jobs TO nordabiz_app;
|
|
GRANT USAGE, SELECT ON SEQUENCE bulk_enrichment_jobs_id_seq TO nordabiz_app;
|