![]() |
How set up Migration in HMVC? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: How set up Migration in HMVC? (/showthread.php?tid=76826) |
How set up Migration in HMVC? - jailin - 06-24-2020 My autoload setup PHP Code: $psr4 = [ My migration file path Code: /mod/System/Database/Migrations/xxxxx_add_system.php I use "php spark migrate" and show Code: CodeIgniter CLI Tool - Version 4.0.3 - Server-Time: 2020-06-24 23:02:57pm but no table created RE: How set up Migration in HMVC? - marqone - 06-25-2020 Hi Jailin -- Usually when I run into stuff like that it is because I did not add the namespace to the file in question; is the namespace in the file defined at the top? RE: How set up Migration in HMVC? - jailin - 06-26-2020 (06-25-2020, 12:17 PM)marqone Wrote: Hi Jailin -- Usually when I run into stuff like that it is because I did not add the namespace to the file in question; is the namespace in the file defined at the top? My Migration file : PHP Code: <?php namespace Mod\System\Database\Migrations; |