обновление
This commit is contained in:
11
backend/db/migrations/050_create_secrets_table.sql
Normal file
11
backend/db/migrations/050_create_secrets_table.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
-- Create encrypted secrets storage
|
||||
-- Stores key/value pairs where value is encrypted via encryptedDatabaseService
|
||||
|
||||
CREATE TABLE IF NOT EXISTS public.secrets (
|
||||
key text PRIMARY KEY,
|
||||
value_encrypted text,
|
||||
created_at timestamptz DEFAULT CURRENT_TIMESTAMP,
|
||||
updated_at timestamptz DEFAULT CURRENT_TIMESTAMP
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user