Remove debug code
Check in database to find its current version. Redirect to upgrade controller if it's not the latest version