Skip to content

Commit

Permalink
Added placeholder for where to add migration
Browse files Browse the repository at this point in the history
  • Loading branch information
yarikoptic committed Jan 16, 2024
1 parent bddffd8 commit e36e003
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dandischema/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,8 @@ def migrate(
if "schemaKey" not in obj:
obj["schemaKey"] = "Dandiset"
obj["schemaVersion"] = to_version
if version2tuple(schema_version) < version2tuple("0.7.0"):
pass # TODO: do necessary changes so that old metadata (before 0.7.0) looks like new (0.7.0)
return obj


Expand Down

0 comments on commit e36e003

Please sign in to comment.