problem with migrations - 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: problem with migrations (/showthread.php?tid=76362) |
problem with migrations - midav - 05-06-2020 Hi everyone, there was a problem in the new version, or it was because it works from the console through SPAKE, but I try to start the migration through the controller, I do everything according to the documentation. And it says if you run PHP Code: $migrate->latest() PHP Code: $migrate->findMigrations () PHP Code: $migrate->setNamespace('Myth \ Auth')->latest() (05-06-2020, 01:01 AM)midav Wrote: Hi everyone, there was a problem in the new version, or it was because it works from the console through SPAKE, but I try to start the migration through the controller, I do everything according to the documentation. And it says if you run all because of this check PHP Code: $namespaces = $this->namespace ? [$this->namespace] : array_keys(Services::autoloader()->getNamespace()); |