Class MigrationAbstract

Description

Abstract migration class

Hierarchy

Constructors

Properties

Accessors

Methods

Constructors

Properties

config: IConfig

Description

config property

connector: IConnector<IConnectorConfig, any>

Description

connector property

Accessors

Methods

  • Type Parameters

    • T extends {
          name: string;
      }

    • C

    Parameters

    • namespace: string
    • callback: ((config, connection, paths) => Promise<void>)
        • (config, connection, paths): Promise<void>
        • Parameters

          • config: T
          • connection: C
          • paths: string[]

          Returns Promise<void>

    Returns Promise<void>

    Description

    For each migration item

  • Parameters

    • paths: string[]
    • callback: ((file, name) => Promise<void>)
        • (file, name): Promise<void>
        • Parameters

          • file: string
          • name: string

          Returns Promise<void>

    Returns Promise<void>

    Description

    For each migration item

Generated using TypeDoc