As i know when we use $this->createTable() in migration will create table in the default "db" connection. How about if i wan the migration to execute on db-archive?
Hi, thanks for the reply. I have a nother question. Let say I have 3 migration file now but only the last in the order is the migration I want to execute on db-archive. So by executing --db=db-archive, the first and the second migration will be execute on db-archive too?
Migrations should be executed sequentially else there’s no sense in these. If you want to totally separate independent migrations you need separate directories and separate DB tables storing info about what was applied.