codeigniter-cli icon indicating copy to clipboard operation
codeigniter-cli copied to clipboard

Migrate command does not follow the migration_auto_latest config

Open albertleao opened this issue 9 years ago • 1 comments

When your config/migrations.php has the following:

$config['migration_auto_latest'] = TRUE;

The command 'php cli migrate' still does not perform the migrations unless the version number is set.

albertleao avatar Apr 11 '16 02:04 albertleao

Yes, my issue same your question. I set $config['migration_auto_latest'] = TRUE; and run php cli migrate not update version lasted. And how to update table using cli migration? Example: I created User table migration and now I want alter column table or add new column into User table.

justertee avatar Aug 11 '16 09:08 justertee