refactor(dbt): migrate to domain-scoped schema names #100
Reference in New Issue
Block a user
Delete Branch "feature/domain-scoped-schema-migration"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
generate_schema_namemacro to use custom schema names directly (withoutpublic_prefix)staging→stg_toronto,intermediate→int_toronto,marts→mart_torontodbt/macros/toronto/directory for future domain-specific macrosChanges
dbt/macros/generate_schema_name.sqldbt/macros/toronto/.gitkeepdbt/dbt_project.yml+schemavalues to domain-scoped namesdocs/PROJECT_REFERENCE.mdload-data-only→load-toronto-onlydocs/DATABASE_SCHEMA.mdCLAUDE.mddocs/runbooks/adding-dashboard.mdTest plan
dbt compilepassesdbt runcreates 23 models in correct schemasdbt testpasses (61 tests)pytestpassesruff checkpassesstg_toronto,int_toronto,mart_toronto🤖 Generated with Claude Code