import { kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.3/mod.ts";
const { Migrator } = kysely;
Migrate one step up.
This method returns a MigrationResultSet instance and never throws. {@link MigrationResultSet.error} holds the error if something went wrong. {@link MigrationResultSet.results} contains information about which migrations were executed and which failed.
Examples
await migrator.migrateUp()
Returns
Promise<MigrationResultSet>