upda/server/migrations_postgres/4_secrets.up.sql
Varakh 3b0603ae17
Some checks failed
/ build (push) Has been cancelled
feat(db): Drop support for SQLite support (breaking!) (#52)
- only Postgres is supported from now on to reduce maintenance
 - enables building main upda server application for all platforms
 - instead of using ORM auto migrate for database schema creation, switch to proper migration framework utilizing flexible steps and plain sql files
 - library updates

Reviewed-on: #52
Co-authored-by: Varakh <varakh@varakh.de>
Co-committed-by: Varakh <varakh@varakh.de>
2024-12-21 14:11:13 +00:00

13 lines
387 B
SQL

create table if not exists secrets
(
id uuid not null
constraint uni_secrets_id primary key,
key text not null
constraint uni_secrets_key unique,
value text not null,
created_at timestamp with time zone not null,
updated_at timestamp with time zone not null
);
commit;