Add UserRelay API and dashboard relays tab with NIP-65 import, store post naddr for Nostr articles, and ship Prisma migrations for board tables, user relays, and post metadata. Co-authored-by: Cursor <cursoragent@cursor.com>
6 lines
275 B
SQL
6 lines
275 B
SQL
-- AlterTable: add naddr column to Post
|
|
ALTER TABLE "Post" ADD COLUMN "naddr" TEXT;
|
|
|
|
-- AlterTable: set default for content on Post (new rows only; existing rows keep their content)
|
|
-- SQLite doesn't support ALTER COLUMN DEFAULT, but Prisma handles this at the client level.
|