Padloc Logo Docs & Resources

Module: migrations

Interfaces

Variables

EARLIEST_VERSION

Const EARLIEST_VERSION: string

Defined in

core/src/migrations.ts:92


LATEST_VERSION

Const LATEST_VERSION: string

Defined in

core/src/migrations.ts:94


MIGRATIONS

Const MIGRATIONS: Migration[]

Defined in

core/src/migrations.ts:14


VERSIONS

Const VERSIONS: string[]

Defined in

core/src/migrations.ts:93

Functions

downgrade

downgrade(kind, raw, version?): any

Parameters

Name Type Default value
kind string undefined
raw any undefined
version string LATEST_VERSION

Returns

any

Defined in

core/src/migrations.ts:133


upgrade

upgrade(kind, raw, version?): any

Parameters

Name Type Default value
kind string undefined
raw any undefined
version string LATEST_VERSION

Returns

any

Defined in

core/src/migrations.ts:103