Skip to content

4. ManualMigrations

Timucin edited this page Mar 29, 2025 · 4 revisions

Manual Migrations

It's always a good idea to have a backup plan. You might come accross some more intricate or complicated requirements from a migration. For this reason, this tool doesn't take into account any migrations that does not have a getSource() method. This way, you can add your own custom migrations that are processed with Laravel's migrate command, but completely invisible to implicit-migrations:generate.

If a manual migration happens to have a method named getSource, the Off implication can be utilized to indicate that it is in fact a manual migration.