Skip to content

Database Schema Version 21 #1781

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

Merged
merged 1 commit into from
Jul 12, 2025
Merged

Conversation

x9foo
Copy link

@x9foo x9foo commented Jul 11, 2025

This PR is a follow-up on #1779 .

It upgrades the db schema from version 20 to 21 and device schema from 5 to 6. Changes includes:

  • six new fields for sort tags
  • new fields bpm, mood, initial_key

See #1779 (review) for more information.

Copy link
Member

@jonaski jonaski left a comment

Choose a reason for hiding this comment

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

You need to change the schema version to 6 in device-schema.sql too:

UPDATE devices SET schema_version=6 WHERE ROWID=%deviceid;

Upgrade from schema version 20 to 21. This includes:

- six fields for sort tags
- new fields bpm, mood, initial_key

See strawberrymusicplayer#1779 (review)
@x9foo
Copy link
Author

x9foo commented Jul 12, 2025

Both changes applied and pushed.

@jonaski jonaski merged commit 2ddacf2 into strawberrymusicplayer:master Jul 12, 2025
30 of 31 checks passed
@x9foo
Copy link
Author

x9foo commented Jul 12, 2025

Thanks, Jonas.

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