From 0e58781daa70300e22ea4abdc0c36be7fba08d7c Mon Sep 17 00:00:00 2001
From: Julien Dessaux
Date: Wed, 16 Oct 2024 00:17:12 +0200
Subject: feat(tfstated): preserve lock information in states versions

---
 pkg/database/sql/000_init.sql | 1 +
 1 file changed, 1 insertion(+)

(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 08a58cd..9c9c07c 100644
--- a/pkg/database/sql/000_init.sql
+++ b/pkg/database/sql/000_init.sql
@@ -13,6 +13,7 @@ CREATE TABLE versions (
   id INTEGER PRIMARY KEY,
   state_id INTEGER,
   data BLOB,
+  lock TEXT,
   created INTEGER DEFAULT (unixepoch()),
   FOREIGN KEY(state_id) REFERENCES states(id) ON DELETE CASCADE
 ) STRICT;
-- 
cgit v1.2.3

