pubkey_domains `domain` cannot be null
This commit is contained in:
parent
a8b5888e6d
commit
f2db6c50b8
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue