What is accuracy to safely use CI migration ? |
@luckmoshy The Migration dose not work as you expected.
It is the point you misunderstanding. The migration is like simple or stupid Git repository. `spark migrate` is like `git commit`. How many migration files you have, when you run `spark migrate`, the migration executes all migration files, and create a batch number starting from 1. When you run `spark migrate` again, the migration executes all new migration files, and create a batch number 2. You can see the batch numbers: Code: $ php spark migrate:status You can go back to the state of arbitrary batch number with `spark migrate:rollback`. |
Messages In This Thread |
What is accuracy to safely use CI migration ? - by luckmoshy - 04-02-2022, 01:43 PM
RE: What is accuracy to safely use CI migration ? - by kenjis - 04-02-2022, 04:38 PM
RE: What is accurate and safely way to use CI migration ? - by luckmoshy - 04-02-2022, 10:27 PM
RE: What is accuracy to safely use CI migration ? - by kenjis - 04-03-2022, 12:20 AM
RE: What is accuracy to safely use CI migration ? - by luckmoshy - 04-14-2022, 01:02 AM
|