chore(tfstated): rename state "name" to "path" for consistency

This commit is contained in:
Julien Dessaux 2024-11-13 21:08:48 +01:00
parent bd8558549e
commit 4020344eda
Signed by: adyxax
GPG key ID: F92E51B86E07177E
4 changed files with 20 additions and 20 deletions

View file

@ -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,