spark migrate [MODULE] \ [CLASS] not reconsigned - 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: spark migrate [MODULE] \ [CLASS] not reconsigned (/showthread.php?tid=78567) |
spark migrate [MODULE] \ [CLASS] not reconsigned - yuma2020 - 02-08-2021 Hello community, as you will see I have the following problem, I have defined a class called ProxyWeb where looking for a migration from the cli codeigniter system, but as you will see I only run the App class migrations and what I need is to load the load of one for what function that allows me the function that runs the migration and the seeder of "ProxyWeb" PHP Code: $ php spark migrate:status PHP Code: CodeIgniter v4.1.1 Command Line Tool - Server Time: 2021-02-08 14:23:23 UTC-06:00 PHP Code: Rolling back migrations to batch: 0 PHP Code: Rolling back: (App) 20201105152000_ PHP Code: Rolling back: (App) 20201005125000_ PHP Code: Done rolling back migrations. PHP Code: Running all new migrations... PHP Code: Running: (App) 20201005125000_App\Database\Migrations\AddUser PHP Code: Running: (App) 20201105152000_\AddClient I would like to know if it may be helpful to define some function that allows to expand this from the same module without defining within the main application. PHP Code: definited is: PHP Code: class ProxyWebServices extends CoreServices From now on I would appreciate any paradops to resolve this situation greetings and I remain attentive RE: spark migrate [MODULE] \ [CLASS] not reconsigned - kenjis - 02-09-2021 How about? Code: php spark migrate:refresh -all RE: spark migrate [MODULE] \ [CLASS] not reconsigned - yuma2020 - 02-11-2021 Yes this code is good work in this case php spark migrate --all and add my windows 10 run linux work in the .env this code change database.default.hostname = localhost => database.default.hostname = 127.1 run $ php spark migrate --all and again rollback database.default.hostname = 127.1 => database.default.hostname = localhost solve problem of partial mode |