mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-28 16:15:57 -05:00
[db] Drop upgrade support for pre-v17 db versions
Also drop the old way of recreating the files table, it is now replaced by db_table_upgrade().
This commit is contained in:
parent
a4c254e6e7
commit
8043ca1291
2
src/db.c
2
src/db.c
@ -6976,7 +6976,7 @@ db_check_version(void)
|
|||||||
|
|
||||||
db_ver = db_ver_major * 100 + db_ver_minor;
|
db_ver = db_ver_major * 100 + db_ver_minor;
|
||||||
|
|
||||||
if (db_ver_major < 10)
|
if (db_ver_major < 17)
|
||||||
{
|
{
|
||||||
DPRINTF(E_FATAL, L_DB, "Database schema v%d too old, cannot upgrade\n", db_ver_major);
|
DPRINTF(E_FATAL, L_DB, "Database schema v%d too old, cannot upgrade\n", db_ver_major);
|
||||||
|
|
||||||
|
1052
src/db_upgrade.c
1052
src/db_upgrade.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user