Skip to content

basalt / prisma/src / migrateTenants

Function: migrateTenants() ​

> migrateTenants(options): Promise<TenantMigrationResult[]>

Defined in: prisma/src/migrate.ts:77

Runs migrations for every tenant, with bounded concurrency. A failing tenant is reported (ok: false) but never aborts the others — the result array is the per-tenant report the RFC calls for.

Parameters ​

options ​

MigrateTenantsOptions

Returns ​

Promise<TenantMigrationResult[]>

Released under the MIT License.