diff options
author | Julien Dessaux | 2024-10-03 00:13:09 +0200 |
---|---|---|
committer | Julien Dessaux | 2024-10-03 00:13:09 +0200 |
commit | 3d7431193158d25d34f4287dbcba44220cdaebe2 (patch) | |
tree | 5cd2b1c63ac619dab1db1456d48b1fa427519eeb /pkg/database/sql | |
parent | feat(tfstated): implement DELETE method (diff) | |
download | tfstated-3d7431193158d25d34f4287dbcba44220cdaebe2.tar.gz tfstated-3d7431193158d25d34f4287dbcba44220cdaebe2.tar.bz2 tfstated-3d7431193158d25d34f4287dbcba44220cdaebe2.zip |
feat(tfstated): implement states locking
Diffstat (limited to 'pkg/database/sql')
-rw-r--r-- | pkg/database/sql/000_init.sql | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/database/sql/000_init.sql b/pkg/database/sql/000_init.sql index 0248896..6ec2ef7 100644 --- a/pkg/database/sql/000_init.sql +++ b/pkg/database/sql/000_init.sql @@ -5,6 +5,7 @@ CREATE TABLE schema_version ( CREATE TABLE states ( id INTEGER PRIMARY KEY, name TEXT NOT NULL, - data BLOB NOT NULL + data BLOB NOT NULL, + lock TEXT ) STRICT; CREATE UNIQUE INDEX states_name on states(name); |