Skip to content

squash db migrations#280

Merged
ddusichka merged 1 commit into
mainfrom
squash-migrations
Apr 22, 2025
Merged

squash db migrations#280
ddusichka merged 1 commit into
mainfrom
squash-migrations

Conversation

@ddusichka
Copy link
Copy Markdown
Contributor

@ddusichka ddusichka commented Apr 22, 2025

this replaces our messy migration scripts with a single script for creating all of our tables, based on their current Supabase definitions (this accounts for any changes made directly in Supabase without a migration script). this should make it more seamless for someone to recreate our DB, and it also makes it easier to see what's going on in our schema at a glance.

i also added an insert script to populate the DB with the set of emissions_factors we've been working with

@ddusichka ddusichka requested a review from zcroft27 April 22, 2025 13:59
@ddusichka ddusichka changed the title squash migrations squash db migrations Apr 22, 2025
Copy link
Copy Markdown
Contributor

@zcroft27 zcroft27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great idea--ship it 🚢 😭 😿😿😿😿

@ddusichka ddusichka merged commit 994e440 into main Apr 22, 2025
2 checks passed
@ddusichka ddusichka deleted the squash-migrations branch April 22, 2025 19:55
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.

2 participants