mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
9 lines
344 B
TypeScript
9 lines
344 B
TypeScript
import type { Kysely } from 'kysely';
|
|
|
|
export async function up(db: Kysely<unknown>): Promise<void> {
|
|
await db.schema.alterTable('event_stats').addColumn('link_preview', 'jsonb').execute();
|
|
}
|
|
|
|
export async function down(db: Kysely<unknown>): Promise<void> {
|
|
await db.schema.alterTable('event_stats').dropColumn('link_preview').execute();
|
|
}
|