MigrationOptions
Options for creating a migration.
Properties
direction?
optional direction: MigrationDirection;
The direction of the migration. Up for applying the migration, down for reverting it.
id
id: string;
The migration ID, e.g. create_users_table
.
timestamp?
optional timestamp: string | number;
The timestamp of the migration. Determines the order in which migrations are applied.