Set defaults for new migrations,

to ensure updating photoview is seemless
This commit is contained in:
viktorstrate
2020-09-25 19:31:35 +02:00
parent b133a1846c
commit 534b95edcb

View File

@@ -1,4 +1,4 @@
ALTER TABLE site_info
ADD COLUMN IF NOT EXISTS periodic_scan_interval int(8) NOT NULL,
ADD COLUMN IF NOT EXISTS concurrent_workers int(8) NOT NULL;
ADD COLUMN IF NOT EXISTS periodic_scan_interval int(8) NOT NULL DEFAULT 0,
ADD COLUMN IF NOT EXISTS concurrent_workers int(8) NOT NULL DEFAULT 3;