A package manager receives a request to install a version of an application on a host server, the version of the application having an associated database script provided by database scripts package. The package manager determines a currently installed schema in a management database associated with the host server and compares the database script associated with the application to the currently installed schema in the management database. Prior to installing the version of the application, the package manager verifies that the database script is installed and updated to match the database schema and performs the database upgrade if required.