feat: add UI for basic relay operations
This commit is contained in:
parent
0db0d9c351
commit
a849dea99f
6 changed files with 152 additions and 62 deletions
|
|
@ -2,17 +2,17 @@ async def m001_initial(db):
|
|||
"""
|
||||
Initial nostrrelays tables.
|
||||
"""
|
||||
|
||||
await db.execute(
|
||||
"""
|
||||
CREATE TABLE nostrrelay.relays (
|
||||
user_id TEXT NOT NULL,
|
||||
id TEXT PRIMARY KEY,
|
||||
name TEXT NOT NULL,
|
||||
description TEXT,
|
||||
pubkey TEXT,
|
||||
contact TEXT,
|
||||
supported_nips TEXT,
|
||||
software TEXT,
|
||||
version TEXT,
|
||||
active BOOLEAN DEFAULT false,
|
||||
meta TEXT NOT NULL DEFAULT '{}'
|
||||
);
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue