1
0
mirror of https://gitlab.com/openlp/website.git synced 2024-12-22 21:12:50 +00:00
website/blog/flag-day-database-schema-changes-in-trunk-revision-956.rst

29 lines
1.3 KiB
ReStructuredText
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

.. title: **FLAG DAY** Database schema changes in trunk revision 956
.. slug: 2010/07/20/flag-day-database-schema-changes-in-trunk-revision-956
.. date: 2010-07-20 19:07:55 UTC
.. tags:
.. description:
Revision 956 commits code to change the database schema for the way song
information is stored.  This is to fix a previous oversight with
alternative titles (they work and are stored correctly now) and to add
the ability to link media files to songs.
When updating to this or any later revision **your old database will
crash OpenLP**.  To prevent this from happening:
- Move or rename your existing database (in ~/.openlp/data/songs or
~/.local/share/openlp/songs on Linux or
%APPDATA%\\openlp\\data\\songs on Windows)
- Open OpenLP to automatically create a database with the new schema
- Import your old data by selecting  File -> Import -> OpenLP v2 Songs 
from the menu in the top left of OpenLP
- Find your old database and click Open
- Your data will be imported.  **This may take a while with no visible
progress feedback.**
- When the import is finished a message box will say this is the case.
Being able to play tracks with songs is one of the few remaining version
1 features left to implement in version 2 and this change allows us to
start building that feature.