From 223077ef5342ba4c1f66b51ee76ba054842d0b2e Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Sun, 8 Jul 2018 10:15:43 +0300 Subject: [PATCH] Phase 2 of Appr migration Backfills the new tables from the old ones, and switches all code to read and write from the new tables --- endpoints/appr/models_cnr.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/endpoints/appr/models_cnr.py b/endpoints/appr/models_cnr.py index 936809590..28985e73c 100644 --- a/endpoints/appr/models_cnr.py +++ b/endpoints/appr/models_cnr.py @@ -310,10 +310,5 @@ class CNRAppModel(AppRegistryDataInterface): return appr_model.blob.get_blob_locations(digest, self.models_ref) -<<<<<<< HEAD -# Phase 2: Read and write from new tables. +# Phase 3: Read and write from new tables. 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