diff --git a/src/db/migrations/015_add_pubkey_domains.ts b/src/db/migrations/015_add_pubkey_domains.ts index 33bcc6c..0b5fe29 100644 --- a/src/db/migrations/015_add_pubkey_domains.ts +++ b/src/db/migrations/015_add_pubkey_domains.ts @@ -5,7 +5,7 @@ export async function up(db: Kysely): Promise { .createTable('pubkey_domains') .ifNotExists() .addColumn('pubkey', 'text', (col) => col.primaryKey()) - .addColumn('domain', 'text') + .addColumn('domain', 'text', (col) => col.notNull()) .execute(); await db.schema