pubkey_domains `domain` cannot be null

This commit is contained in:
Alex Gleason 2024-03-20 13:21:34 -05:00
parent a8b5888e6d
commit f2db6c50b8
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ export async function up(db: Kysely<any>): Promise<void> {
.createTable('pubkey_domains') .createTable('pubkey_domains')
.ifNotExists() .ifNotExists()
.addColumn('pubkey', 'text', (col) => col.primaryKey()) .addColumn('pubkey', 'text', (col) => col.primaryKey())
.addColumn('domain', 'text') .addColumn('domain', 'text', (col) => col.notNull())
.execute(); .execute();
await db.schema await db.schema