-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Updating the database schema
Janek edited this page Jul 27, 2020
·
1 revision
- Add a new revision to
res/schema.xml, which is parsed bysrc/database/schemamanager- Increment the
versionattribute by one from the previous one - Use the
min_compatibleversion from the previous revision unless you delete or rename a table or column
- Increment the
- Summarize your changes in the
descriptionsubtag for future reference - Add SQLite statements in the
sqlsubtag
- Update
MixxxDB::kRequiredVersioninsrc/database/mixxxdb.cppto the new version - Add tests to make sure your additions function as expected :)
Note that, once a revision is upgraded to, changes to it won't be recognized - so if you want to fix something afterwards you either have to change the version a few times or always work with a fresh database. Thus, once a revision is in master, it may not be modified bar extraordinary circumstances.
Mixxx is a free and open-source DJ software.
Manual
Hardware Compatibility
Reporting Bugs
Getting Involved
Contribution Guidelines
Coding Guidelines
Using Git
Developer Guide
Creating Skins
Contributing Mappings
Mixxx Controls
MIDI Scripting
Components JS
HID Scripting