Phase 1 of migrating APPR-specific tables to tables with the Appr prefix

Fixes https://jira.coreos.com/browse/QUAY-950
This commit is contained in:
Joseph Schorr 2018-05-24 17:54:51 -04:00
parent 11eaab5756
commit a3c3c0abc7

View file

@ -310,5 +310,10 @@ class CNRAppModel(AppRegistryDataInterface):
return appr_model.blob.get_blob_locations(digest, self.models_ref) return appr_model.blob.get_blob_locations(digest, self.models_ref)
<<<<<<< HEAD
# Phase 2: Read and write from new tables. # Phase 2: Read and write from new tables.
model = CNRAppModel(NEW_MODELS, features.READONLY_APP_REGISTRY) model = CNRAppModel(NEW_MODELS, features.READONLY_APP_REGISTRY)
=======
# Phase 1: Read from old tables, disallow writing.
model = CNRAppModel(OLD_MODELS, features.READONLY_APP_REGISTRY)
>>>>>>> Phase 1 of migrating APPR-specific tables to tables with the `Appr` prefix