Welcome Guest, Not a member yet? Register   Sign In
What is accuracy to safely use CI migration ?
#4

(This post was last modified: 04-03-2022, 12:22 AM by kenjis.)

@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`.
Reply


Messages In This Thread
RE: What is accuracy to safely use CI migration ? - by kenjis - 04-03-2022, 12:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB