1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-12-22 08:56:17 +00:00

Fix #252 migrations

This commit is contained in:
Alban Féron 2023-04-02 16:00:56 +02:00
parent 639c68291a
commit 62f921d05f
No known key found for this signature in database
GPG Key ID: 8CE0313646D16165
3 changed files with 2 additions and 17 deletions

View File

@ -1,5 +1 @@
START TRANSACTION;
UPDATE track SET bitrate=bitrate/1000 WHERE bitrate > 16000 AND path NOT LIKE '%.wav';
COMMIT;
UPDATE track SET bitrate=bitrate/1000 WHERE bitrate > 16000 AND path NOT LIKE '%%.wav';

View File

@ -1,5 +1 @@
START TRANSACTION;
UPDATE track SET bitrate=bitrate/1000 WHERE bitrate > 16000 AND path NOT LIKE '%.wav';
COMMIT;
UPDATE track SET bitrate=bitrate/1000 WHERE bitrate > 16000 AND path NOT LIKE '%%.wav';

View File

@ -1,8 +1 @@
COMMIT;
PRAGMA foreign_keys = OFF;
BEGIN TRANSACTION;
UPDATE track SET bitrate=bitrate/1000 WHERE bitrate > 16000 AND path NOT LIKE '%.wav';
COMMIT;
BEGIN TRANSACTION;