mirror of
https://github.com/aljazceru/ditto.git
synced 2025-12-28 18:54:27 +01:00
'null' -> null
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user