![]() |
Creating Tables - 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: Creating Tables (/showthread.php?tid=68005) |
Creating Tables - robertnicjoo - 05-08-2017 Hello, I use to work with Laravel and I want to know if there is any way such as migrantion in laravel for Codeigniter I mean to create tables and roles of them then just run it in command and it creates tables automatically so no need to work on my phpmyadmin and input many lines of codes to create tables, is there? Thanks. RE: Creating Tables - qury - 05-09-2017 (05-08-2017, 04:43 PM)robertnicjoo Wrote: Hello, Hi, there is an ugly way to do something like this: PHP Code: $source = $this->load->database('source_db', TRUE); RE: Creating Tables - marksman - 05-09-2017 I think you have to read the docs first. CodeIgniter has a very nice documentation. https://www.codeigniter.com/user_guide/libraries/migration.html its also available in your local copy under user_guide |