API 参考
    正在准备搜索索引...

    Represents entity of the migration in the database.

    索引

    构造函数

    • 参数

      • id: undefined | number
      • timestamp: number
      • name: string
      • 可选instance: MigrationInterface
      • 可选transaction: boolean

      返回 Migration

    属性

    id: undefined | number

    Migration id. Indicates order of the executed migrations.

    Migration instance that needs to be run.

    name: string

    Name of the migration (class name).

    timestamp: number

    Timestamp of the migration.

    transaction?: boolean

    Whether to run this migration within a transaction