Prepare for periodic scan intervals

Add setting to database, and to graphql api
This commit is contained in:
viktorstrate
2020-09-20 22:19:25 +02:00
parent a257dfb3e6
commit 679dc70340
6 changed files with 194 additions and 121 deletions

View File

@@ -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

View File

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