mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-23 03:34:19 +01:00
multiple keysets per mint
This commit is contained in:
@@ -95,13 +95,13 @@ async def m003_mint_keysets(db: Database):
|
||||
f"""
|
||||
CREATE TABLE IF NOT EXISTS keysets (
|
||||
id TEXT NOT NULL,
|
||||
mint_url TEXT,
|
||||
derivation_path TEXT,
|
||||
valid_from TIMESTAMP DEFAULT {db.timestamp_now},
|
||||
valid_to TIMESTAMP DEFAULT {db.timestamp_now},
|
||||
first_seen TIMESTAMP DEFAULT {db.timestamp_now},
|
||||
active BOOL DEFAULT TRUE,
|
||||
|
||||
UNIQUE (id, mint_url)
|
||||
UNIQUE (derivation_path)
|
||||
|
||||
);
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user