migrate
migrate(
client,options?):Promise<{applied:number[];version:number; }>
Defined in: packages/store-postgres/src/migrations.ts:210
Applies the migrations that are missing, in one transaction under an advisory lock, so several processes starting at once cannot apply the same migration twice. Returns the versions applied.
Parameters
Section titled “Parameters”client
Section titled “client”options?
Section titled “options?”NamingOptions = {}
Returns
Section titled “Returns”Promise<{ applied: number[]; version: number; }>