For automatic database deployment, database handler is checked first.