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

    Represents entity of the migration in the database.

    索引
    • 参数

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

      返回 Migration

    id: number | undefined

    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