import { Kysely } from "kysely" export async function up(db: Kysely) { await db.schema .createTable("subscription") .addColumn("id", "serial", (col) => col.primaryKey()) .addColumn("subscription", "json") .execute() } export async function down(db: Kysely) { await db.schema.dropTable("subscription").execute() }