I've got specific issue, when in building my project, I need to run migration only if it wasn't migrated yet. I know that I can use $this->skipIf()
inside of migration, but I wanted to have some "external" way to do it, without adding code in every class that I want to run like that.
Is there any way to do it? Flag or something? Tried different things with :execute
and :migrate
but no result.