sql upgrade/install/uninstall