Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorganize database migrations #1881

Merged
merged 5 commits into from
Jan 31, 2025
Merged

Conversation

manuelwedler
Copy link
Contributor

Closes #1865

This reduces our db migrations to two files: one for VerA db spec and one for the Sourcify changes to it. The VerA database-specs is added as a git submodule, and its schema.sql file is just read in the first migration, instead of duplicating the code.

In the future, when VerA db specs are updated, we just need to update the submodule commit. Sourcify additions should just be added to the Sourcify migration file.

Copy link
Member

@kuzdogan kuzdogan left a comment

Choose a reason for hiding this comment

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

Nice an clean. Just a comment

@manuelwedler manuelwedler force-pushed the reorganise-db-migrations branch from 7b79d2b to ea25237 Compare January 31, 2025 11:46
@manuelwedler manuelwedler merged commit 5484e78 into staging Jan 31, 2025
6 checks passed
@manuelwedler manuelwedler deleted the reorganise-db-migrations branch January 31, 2025 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: COMPLETED
Development

Successfully merging this pull request may close these issues.

Reorganize database migrations
2 participants