'null' -> null
This commit is contained in:
parent
171350a34d
commit
7021b0d4fd
|
@ -1,7 +1,7 @@
|
|||
import { Kysely } from 'kysely';
|
||||
|
||||
export async function up(db: Kysely<any>): Promise<void> {
|
||||
await db.deleteFrom('nostr_events').where('deleted_at', 'is not', 'null').execute();
|
||||
await db.deleteFrom('nostr_events').where('deleted_at', 'is not', null).execute();
|
||||
await db.schema.alterTable('nostr_events').dropColumn('deleted_at').execute();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue