ezidam/crates/database/migrations/20230312153840_keys.up.sql

8 lines
220 B
SQL

create table if not exists keys
(
id TEXT not null primary key,
created_at TEXT not null default CURRENT_TIMESTAMP,
revoked_at TEXT,
private_der BLOB not null,
public_der BLOB not null
);