mirror of
https://github.com/lightninglabs/aperture.git
synced 2026-01-08 03:44:23 +01:00
9 lines
231 B
SQL
9 lines
231 B
SQL
CREATE TABLE IF NOT EXISTS secrets (
|
|
id INTEGER PRIMARY KEY,
|
|
hash BLOB UNIQUE NOT NULL,
|
|
secret BLOB UNIQUE NOT NULL,
|
|
created_at TIMESTAMP NOT NULL
|
|
);
|
|
|
|
CREATE INDEX IF NOT EXISTS secrets_hash_idx ON secrets (hash);
|