mirror of
https://github.com/aljazceru/ditto.git
synced 2026-02-23 05:56:03 +01:00
pubkey_domains domain cannot be null
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user