basalt / prisma/src / assertMigrated
Function: assertMigrated()
> assertMigrated(client, options?): Promise<void>
Defined in: prisma/src/assert-migrated.ts:129
Throws DatabaseNotMigratedError unless _prisma_migrations (and every table in options.tables) exists in the database client reaches. The error names that database and host; credentials are never printed.
Parameters
client
RawQueryClient
options?
Returns
Promise<void>