Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Migration

interface Migration {
down?(db: Kysely<any>): Promise<void>;
up(db: Kysely<any>): Promise<void>;
}

§Methods

§
down?(db: Kysely<any>): Promise<void>
[src]

An optional down method.

If you don't provide a down method, the migration is skipped when migrating down.

§
up(db: Kysely<any>): Promise<void>
[src]