Skip to content

Add base_address field to AIS output and precursor database tables#206

Open
mbjackson-capp wants to merge 3 commits intomasterfrom
add_james_fields
Open

Add base_address field to AIS output and precursor database tables#206
mbjackson-capp wants to merge 3 commits intomasterfrom
add_james_fields

Conversation

@mbjackson-capp
Copy link
Contributor

@mbjackson-capp mbjackson-capp commented Sep 2, 2025

Adds a "base_address" field to AIS address queries, which returns the base_address property from passyunk response components. This changes base_address from a "property" to an actual Column in several sqlalchemy models, and creates the relevant database field in the address_summary table (as well as precursor tables used to create it).

After this PR is merged, we should do an official Alembic/SQLAlchemy migration to ensure that the tables in prod database exactly match the updated fields in models.py. (I've been using ALTER TABLE statements to ADD COLUMN where needed in the ais-build-dev-matt database while testing.) We'll also want to add tests of base_address to the test suite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant