Added a call that runs CI migration if we need to migrate up or down.
这个提交包含在:
父节点
266cd3f021
当前提交
c614c5a89d
共有 1 个文件被更改,包括 5 次插入 和 2 次删除
|
|
@ -11,7 +11,10 @@ class Dashboard extends CI_Controller {
|
|||
|
||||
public function index()
|
||||
{
|
||||
|
||||
// Check our version and run any migrations
|
||||
$this->load->library('Migration');
|
||||
$this->migration->current();
|
||||
|
||||
// Database connections
|
||||
$this->load->model('logbook_model');
|
||||
$this->load->model('user_model');
|
||||
|
|
@ -162,4 +165,4 @@ class Dashboard extends CI_Controller {
|
|||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
正在加载…
在新工单中引用