aboutsummaryrefslogtreecommitdiffstats
path: root/crates/atuin-kv/migrations/20250501160746_create_kv_db.up.sql
diff options
context:
space:
mode:
Diffstat (limited to 'crates/atuin-kv/migrations/20250501160746_create_kv_db.up.sql')
-rw-r--r--crates/atuin-kv/migrations/20250501160746_create_kv_db.up.sql12
1 files changed, 0 insertions, 12 deletions
diff --git a/crates/atuin-kv/migrations/20250501160746_create_kv_db.up.sql b/crates/atuin-kv/migrations/20250501160746_create_kv_db.up.sql
deleted file mode 100644
index 77384044..00000000
--- a/crates/atuin-kv/migrations/20250501160746_create_kv_db.up.sql
+++ /dev/null
@@ -1,12 +0,0 @@
--- Add up migration script here
-CREATE TABLE
- kv (
- namespace TEXT NOT NULL,
- key TEXT NOT NULL,
- value TEXT NOT NULL,
- inserted_at INTEGER NOT NULL DEFAULT (strftime ('%s', 'now'))
- );
-
-CREATE INDEX idx_kv_namespace ON kv (namespace);
-
-CREATE UNIQUE INDEX idx_kv ON kv (namespace, key);