moved config to a json, which makes adding more variables easier, but perhaps otherwise adds complexity

This commit is contained in:
Ville Rantanen
2023-07-28 13:08:54 +03:00
parent 80af9c321c
commit f1c453d3d4
18 changed files with 258 additions and 182 deletions

View File

@@ -1,12 +1,12 @@
create table config (
version text not null,
name text not null,
description text not null,
secret_key text not null,
captcha_key text not null,
registration_enabled boolean not null,
login_required boolean not null
);
--create table config (
-- version text not null,
-- name text not null,
-- description text not null,
-- secret_key text not null,
-- captcha_key text not null,
-- registration_enabled boolean not null,
-- login_required boolean not null
--);
create table users (
user_id integer unique not null primary key autoincrement,