mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
'null' -> null
This commit is contained in:
parent
171350a34d
commit
7021b0d4fd
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
import { Kysely } from 'kysely';
|
import { Kysely } from 'kysely';
|
||||||
|
|
||||||
export async function up(db: Kysely<any>): Promise<void> {
|
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();
|
await db.schema.alterTable('nostr_events').dropColumn('deleted_at').execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue