Skip to content

Commit

Permalink
Merge pull request #2132 from MGatner/migrate-readme
Browse files Browse the repository at this point in the history
Update migration User Guide
  • Loading branch information
jim-parry authored Aug 12, 2019
2 parents 290c9f6 + 5ab77c5 commit fe04819
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions user_guide_src/source/dbmgmt/migration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ need to go and run them. You would also have to keep track of which changes
need to be run against the production machines next time you deploy.

The database table **migration** tracks which migrations have already been
run so all you have to do is update your application files and
call ``$migration->current()`` to work out which migrations should be run.
The current version is found in **app/Config/Migrations.php**.
run so all you have to do is make sure your migrations are in place and
call ``$migration->latest()`` to bring the database up to the most recent
state. You can also use ``$migration->latestAll()`` to include migrations
from all namespaces.

.. contents::
:local:
Expand Down

0 comments on commit fe04819

Please sign in to comment.