mirror of
https://github.com/spl0k/supysonic.git
synced 2024-12-23 09:26:18 +00:00
405a26a20a
Ref #81
13 lines
188 B
SQL
13 lines
188 B
SQL
START TRANSACTION;
|
|
|
|
ALTER TABLE folder ADD cover_art VARCHAR(256);
|
|
|
|
UPDATE folder
|
|
SET cover_art = 'cover.jpg'
|
|
WHERE has_cover_art;
|
|
|
|
ALTER TABLE folder DROP COLUMN has_cover_art;
|
|
|
|
COMMIT;
|
|
|