Files
DLE/backend/db/migrations/050_create_secrets_table.sql
2025-08-15 16:46:07 +03:00

12 lines
336 B
SQL

-- 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
);