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

Support for database versioning #51

Open
denis-stepanov opened this issue Oct 30, 2022 · 1 comment
Open

Support for database versioning #51

denis-stepanov opened this issue Oct 30, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@denis-stepanov
Copy link
Owner

We need to have a version attribute of the database in the form of YYYYMMDD, which should match corresponding tags in the advent-db unit. This version should be shown on AdVent startup and with db-djv-pg dbinfo command. The exact implementation is to be decided: either a new table or a special entry in the songs table.

@denis-stepanov denis-stepanov added the enhancement New feature or request label Oct 30, 2022
@denis-stepanov denis-stepanov added this to the v1.6.0 milestone Dec 22, 2022
@denis-stepanov denis-stepanov removed this from the v1.6.0 milestone Mar 30, 2024
@denis-stepanov
Copy link
Owner Author

Perhaps the least intrusive option would be to create an SQL function returning a static number and override this function on updates.

The function could also return a total number of fingerprints in a given release, which would enable simple integrity checks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant