Phase 3 of Appr migration
Deletes the old models and their code
This commit is contained in:
		
							parent
							
								
									223077ef53
								
							
						
					
					
						commit
						487edf0ba1
					
				
					 9 changed files with 218 additions and 167 deletions
				
			
		|  | @ -1,7 +1,5 @@ | |||
| from collections import namedtuple | ||||
| 
 | ||||
| from data.database import (Tag, TagKind, BlobPlacementLocation, ManifestList, ManifestBlob, Blob, | ||||
|                            ManifestListManifest, Manifest, BlobPlacement, Channel) | ||||
| from data.database import (ApprTag, ApprTagKind, ApprBlobPlacementLocation, ApprManifestList, | ||||
|                            ApprManifestBlob, ApprBlob, ApprManifestListManifest, ApprManifest, | ||||
|                            ApprBlobPlacement, ApprChannel) | ||||
|  | @ -11,10 +9,6 @@ ModelsRef = namedtuple('ModelsRef', ['Tag', 'TagKind', 'BlobPlacementLocation', | |||
|                                      'BlobPlacement', 'Channel', 'manifestlistmanifest_set_name', | ||||
|                                      'tag_set_prefetch_name']) | ||||
| 
 | ||||
| OLD_MODELS = ModelsRef(Tag, TagKind, BlobPlacementLocation, ManifestList, ManifestBlob, Blob, | ||||
|                        ManifestListManifest, Manifest, BlobPlacement, Channel, | ||||
|                        'manifestlistmanifest_set', 'tag_set_prefetch') | ||||
| 
 | ||||
| NEW_MODELS = ModelsRef(ApprTag, ApprTagKind, ApprBlobPlacementLocation, ApprManifestList, | ||||
|                        ApprManifestBlob, ApprBlob, ApprManifestListManifest, ApprManifest, | ||||
|                        ApprBlobPlacement, ApprChannel, 'apprmanifestlistmanifest_set', | ||||
|  |  | |||
		Reference in a new issue