mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-11 03:26:58 +02:00
Got key values working
This commit is contained in:
12
src-tauri/migrations/20230316052652_key-values.sql
Normal file
12
src-tauri/migrations/20230316052652_key-values.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
CREATE TABLE key_values
|
||||
(
|
||||
model TEXT NOT NULL DEFAULT 'key_value',
|
||||
created_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
updated_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
deleted_at DATETIME,
|
||||
namespace TEXT NOT NULL,
|
||||
key TEXT NOT NULL,
|
||||
value TEXT NOT NULL,
|
||||
|
||||
PRIMARY KEY (namespace, key)
|
||||
);
|
||||
Reference in New Issue
Block a user