diff --git a/application/controllers/dashboard.php b/application/controllers/dashboard.php index d7c8c0ee..2226f9b0 100644 --- a/application/controllers/dashboard.php +++ b/application/controllers/dashboard.php @@ -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 { } -} \ No newline at end of file +}