summaryrefslogtreecommitdiff
path: root/pkg/database/sql/000_init.sql
diff options
context:
space:
mode:
authorJulien Dessaux2024-11-13 21:08:48 +0100
committerJulien Dessaux2024-11-13 21:08:48 +0100
commit4020344eda4d2a988f11dc60ac7c55a97aa39774 (patch)
treec5a6da4f1ddfea23642e0598f9623e18ac4f1659 /pkg/database/sql/000_init.sql
parentchore(deps): update dependencies (diff)
downloadtfstated-4020344eda4d2a988f11dc60ac7c55a97aa39774.tar.gz
tfstated-4020344eda4d2a988f11dc60ac7c55a97aa39774.tar.bz2
tfstated-4020344eda4d2a988f11dc60ac7c55a97aa39774.zip
chore(tfstated): rename state "name" to "path" for consistency
Diffstat (limited to 'pkg/database/sql/000_init.sql')
-rw-r--r--pkg/database/sql/000_init.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/database/sql/000_init.sql b/pkg/database/sql/000_init.sql
index 9c9c07c..ab40746 100644
--- a/pkg/database/sql/000_init.sql
+++ b/pkg/database/sql/000_init.sql
@@ -4,10 +4,10 @@ CREATE TABLE schema_version (
CREATE TABLE states (
id INTEGER PRIMARY KEY,
- name TEXT NOT NULL,
+ path TEXT NOT NULL,
lock TEXT
) STRICT;
-CREATE UNIQUE INDEX states_name on states(name);
+CREATE UNIQUE INDEX states_path on states(path);
CREATE TABLE versions (
id INTEGER PRIMARY KEY,