mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-08-03 22:19:07 +00:00
Prepare for periodic scan intervals
Add setting to database, and to graphql api
This commit is contained in:
@@ -20,7 +20,7 @@ CREATE TABLE IF NOT EXISTS access_token (
|
||||
) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS site_info (
|
||||
initial_setup boolean NOT NULL DEFAULT TRUE
|
||||
initial_setup boolean NOT NULL DEFAULT TRUE,
|
||||
) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
|
||||
|
||||
-- Video related
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
ALTER TABLE site_info
|
||||
ADD COLUMN IF NOT EXISTS periodic_scan_interval int(8) NOT NULL DEFAULT 0;
|
||||
Reference in New Issue
Block a user