Skip to main content

setSchema

@quik/database


@quik/database / MigrationStore / setSchema

Function: setSchema()

setSchema(module, schema): void

Defined in: database/src/migrations/stores/migrations.ts:31

Sets the target database schema a module's migrations should run against (Postgres only).

Parameters

module

string

Module identifier

schema

string

Target database schema name

Returns

void