Skip to content
Snippets Groups Projects
Commit 800f6861 authored by antondmtvch's avatar antondmtvch
Browse files

added check of view collections

parent 291966bd
No related branches found
No related tags found
No related merge requests found
......@@ -327,6 +327,9 @@ class ExtensionSetup:
continue
else:
# если view-коллекция то не устанавливаем схему
if MessageToDict(collection).get("view"):
continue
try:
cloned_collection = copy.deepcopy(local_collection)
cloned_collection.space_id = space_id
......@@ -340,10 +343,6 @@ class ExtensionSetup:
continue
# если view-коллекция то не устанавливаем схему
if MessageToDict(collection).get("view"):
continue
diff = DeepDiff(
json.loads(collection.schema or "{}"),
json.loads(local_collection.schema or "{}"),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment