mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
pubkey_domains domain cannot be null
This commit is contained in:
parent
a8b5888e6d
commit
f2db6c50b8
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ export async function up(db: Kysely<any>): Promise<void> {
|
|||
.createTable('pubkey_domains')
|
||||
.ifNotExists()
|
||||
.addColumn('pubkey', 'text', (col) => col.primaryKey())
|
||||
.addColumn('domain', 'text')
|
||||
.addColumn('domain', 'text', (col) => col.notNull())
|
||||
.execute();
|
||||
|
||||
await db.schema
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue