feat(tfstated): implement GET and POST methods, states are encrypted in a sqlite3 database
This commit is contained in:
parent
baf5aac08e
commit
4ff490806c
18 changed files with 627 additions and 2 deletions
10
pkg/database/sql/000_init.sql
Normal file
10
pkg/database/sql/000_init.sql
Normal 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);
|
Loading…
Add table
Add a link
Reference in a new issue