December 2013
Intermediate to advanced
306 pages
6h 26m
English
You may wish to deliberately alter the database by pointing it to a specific migration number. This can be achieved by use of the version() function within CodeIgniter.
Ensure that you have followed the preceding recipe, Using CodeIgniter database migrations.
php index.php migrate version 1
Consider the following command line:
php index.php migrate version number
number is highlighted as it specifies the migration file number to move to, that is, 1, 2, 3, and so on.
The first thing we should bear in mind is ...
Read now
Unlock full access