added db migrations, changed report controller to return null if db is empty