CodeIgniter Forums
database migrate - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: database migrate (/showthread.php?tid=76913)



database migrate - lnavarro - 07-02-2020

hi everyone, im try to use myth-auth, in my local machine it work fine, i run php spark migrate -all, and migrate controller, both work fine on my local machine....... the problem is on my production server, i cant use ssh to run cli, and i try migrate controller but doesnt work, i have try this 2 codes on the controller

try{
      $migrate->setNamespace('Myth\Auth')->latest();      //this code work on my local machine
}


and this other
try{
      $migrate->latest();
}



Do I need some other configuration on my production server?

PD: sorry for my english Smile