feat(tfstated): implement GET and POST methods, states are encrypted in a sqlite3 database

This commit is contained in:
Julien Dessaux 2024-09-30 00:58:49 +02:00
parent baf5aac08e
commit 4ff490806c
Signed by: adyxax
GPG key ID: F92E51B86E07177E
18 changed files with 627 additions and 2 deletions

View file

@ -0,0 +1,10 @@
CREATE TABLE schema_version (
version INTEGER NOT NULL
) STRICT;
CREATE TABLE states (
id INTEGER PRIMARY KEY,
name TEXT NOT NULL,
data BLOB NOT NULL
) STRICT;
CREATE UNIQUE INDEX states_name on states(name);