Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/kysely_postgrs_js_dialect/deps.ts>PostgresAdapter#releaseMigrationLock

Kysely dialect for PostgreSQL using the Postgres.js client.
Latest
method PostgresAdapter.prototype.releaseMigrationLock
import { PostgresAdapter } from "https://deno.land/x/kysely_postgrs_js_dialect@v0.27.4/deps.ts";

Releases the migration lock. See acquireMigrationLock.

If supportsTransactionalDdl is true then the db passed to this method is a transaction inside which the migrations were executed. Otherwise db is a single connection (session) that was used to execute the migrations and the acquireMigrationLock call.

Parameters

_db: Kysely<any>
_opt: MigrationLockOptions

Returns

Promise<void>