Adjust sqlite3 to new config table schema

This commit is contained in:
Spotlight 2024-09-23 01:30:24 -05:00
parent 1edbfa40f2
commit bfe9f47e8d
No known key found for this signature in database
GPG Key ID: 874AA355B3209BDC

View File

@ -16,12 +16,12 @@ Create Table friends(
);
Create Table config(
BACKEND_UPTIME bigint NOT NULL,
backend_uptime text,
network tinyint NOT NULL
);
INSERT INTO config(BACKEND_UPTIME, network) VALUES (0, 0);
INSERT INTO config(BACKEND_UPTIME, network) VALUES (0, 1);
INSERT INTO config(backend_uptime, network) VALUES (0, 0);
INSERT INTO config(backend_uptime, network) VALUES (0, 1);
Create Table discord(
ID bigint NOT NULL UNIQUE,