when reading the schema while adding/removing cubes, read schema in non-strict mode
try:# missing on some old databasessql('CREATE INDEX entities_extid_idx ON entities(extid)')except:pass# already existscheckpoint()sql('CREATE INDEX entities_type_idx ON entities(type)')checkpoint()