Well the database upgrade mechanism can be triggered by hitting this controller /admin/databoxes/upgrade that's why I did not declared this service in CLI application.