Add sidecar path & hash to DB

This commit is contained in:
sean borg
2020-11-16 20:57:34 +00:00
parent d7ed03ca4f
commit 11d67c9ae9
4 changed files with 62 additions and 3 deletions

View File

@@ -0,0 +1,4 @@
ALTER TABLE media
DROP COLUMN IF EXISTS side_car_path,
DROP COLUMN IF EXISTS side_car_hash;

View File

@@ -0,0 +1,4 @@
ALTER TABLE media
ADD COLUMN IF NOT EXISTS side_car_path varchar(1024) DEFAULT NULL,
ADD COLUMN IF NOT EXISTS side_car_hash varchar(32) DEFAULT NULL;