Fetch db_version from server and recreate tables if we need to upgrade. TO BE TESTED !