From 3d7431193158d25d34f4287dbcba44220cdaebe2 Mon Sep 17 00:00:00 2001
From: Julien Dessaux
Date: Thu, 3 Oct 2024 00:13:09 +0200
Subject: feat(tfstated): implement states locking

---
 pkg/database/sql/000_init.sql | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'pkg/database/sql/000_init.sql')

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);
-- 
cgit v1.2.3

