VAULT_POST_DATABASE_COLUMNS
Documentation for eth_defi.feed.database.VAULT_POST_DATABASE_COLUMNS data.
- VAULT_POST_DATABASE_COLUMNS = {'feed_sync_state': ('key', 'value', 'updated_at'), 'posts': ('source_id', 'external_post_id', 'title', 'post_url', 'published_at', 'fetched_at', 'short_description', 'full_text', 'ai_summary', 'raw_payload'), 'tracked_sources': ('source_id', 'feeder_id', 'name', 'role', 'website', 'source_type', 'source_key', 'canonical_url', 'last_checked_at', 'last_success_at', 'last_error', 'last_post_published_at', 'added_at', 'updated_at')}
Columns owned by each vault-post table, in the migration target’s order.
Existing database files can predate a nullable column added through
ALTER TABLE. Migration copies by these names rather than source column position, preserving the historical schema variants.