CodeIgniter Forums
Why is the MifgrateLatest class removed from the system? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=31)
+--- Thread: Why is the MifgrateLatest class removed from the system? (/showthread.php?tid=76121)



Why is the MifgrateLatest class removed from the system? - titounnes - 04-15-2020

I created a new migration file. then I try to run. Error message appears because the table has been created. Then I check with the command "php spark list", it turns out the command "migrate: latest" is not on the list, and I see that the system is no longer available. What if we want to run migrate from the last position?


RE: Why is the MifgrateLatest class removed from the system? - includebeer - 04-18-2020

I think its been renamed to be just “migrate” instead of “migrate:latest”

https://codeigniter4.github.io/userguide/dbmgmt/migration.html#command-line-tools


RE: Why is the MifgrateLatest class removed from the system? - MGatner - 04-22-2020

@includebeer is exactly right


RE: Why is the MifgrateLatest class removed from the system? - titounnes - 04-22-2020

(04-22-2020, 04:46 AM)MGatner Wrote: @includebeer is exactly right
Thank's for your reply...