Skip to main content

applyPreviewMigrations

@lowcode/runtime-host


Function: applyPreviewMigrations()

applyPreviewMigrations(projectId, dataSources): Promise<PreviewApplyResponse>

Defined in: apps/runtime-host/src/api/client.ts:577

Применяет preview-миграции для DB dataSources проекта.

Parameters​

projectId​

string

Идентификатор проекта.

dataSources​

DataSource[]

Список dataSources (можно передавать все).

Returns​

Promise<PreviewApplyResponse>

Ответ runtime-backend.