cic-custodial/migrations/001_keystore.sql

8 lines
265 B
MySQL
Raw Normal View History

2023-02-09 08:42:15 +01:00
-- Keystore table
CREATE TABLE IF NOT EXISTS keystore (
id INT GENERATED ALWAYS AS IDENTITY PRIMARY KEY,
public_key TEXT NOT NULL,
private_key TEXT NOT NULL,
active BOOLEAN DEFAULT true,
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
2023-02-12 10:50:43 +01:00
);