Skip to main content

getDefaultFolder

@quik/database


@quik/database / MigrationStore / getDefaultFolder

Function: getDefaultFolder()

getDefaultFolder(module): string

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

Retrieves the default migration folder for a module. May throw ModuleNotFoundError if the module doesn't exist or NoFoldersDefinedForModuleError if the module has no folders.

Parameters

module

string

Module identifier

Returns

string