def upgradeDatabase(cls, databaseUrl): """upgradeDatabase doc...""" from pyglass.alembic.AlembicUtils import AlembicUtils if not AlembicUtils.hasAlembic: return False AlembicUtils.upgradeDatabase( databaseUrl=databaseUrl, resourcesPath=PyGlassEnvironment.getRootResourcePath(isDir=True), localResourcesPath=PyGlassEnvironment.getRootLocalResourcePath(isDir=True), ) return True