Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration MIGRATION_STATUS

The possible statuses of a migration. These are determined during the runtime of the CLI by comparing the migrations folder with the stored state.

Index

Enumeration members

Enumeration members

MISSING

MISSING = "❌ MISSING"

The migration has been reported by StateScript.get, but can't be found in the migrations folder, indicating that the integrity of the migrations has been compromised.

PENDING

PENDING = "〰️ PENDING"

The migration is present in the migrations folder, but not reported by StateScript.get. Furthermore, there is no later migration with MIGRATION_STATUS.RUN.

RUN

RUN = "✅ RUN"

The migration is present in the migrations folder, and is reported by StateScript.get.

SKIPPED

SKIPPED = "❌ SKIPPED"

The migration is present in the migrations folder, and not reported by StateScript.get. However, this migration is not considered MIGRATION_STATUS.PENDING because there is a later migration with MIGRATION_STATUS.RUN, indicating that the integrity of the migrations has been compromised.

Generated using TypeDoc