Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to nmdc-schema 10.1.4 #494

Merged
merged 4 commits into from
Mar 12, 2024
Merged

Upgrade to nmdc-schema 10.1.4 #494

merged 4 commits into from
Mar 12, 2024

Conversation

pkalita-lbl
Copy link
Collaborator

@pkalita-lbl pkalita-lbl commented Mar 11, 2024

Description

  • Upgrade to nmdc-schema==10.1.4
  • Implement Python notebook that can be used to migrate a database from schema version 10.0.0 to 10.1.4.
    • Here's a rendered version of the notebook.
    • The notebooks uses a migrator that was written to migrate a database from schema version 10.0.0 to 10.1.2 (two, not four).
    • The notebook differs from the "usual" ones in that, when validating the migrated documents, it discards the pattern constraint on the id slot. In other words, it is tolerant of so-called "legacy IDs".

@eecavanna
Copy link
Collaborator

I'll run the migration on the dev database now, and then convert this PR into a non-draft.

@eecavanna
Copy link
Collaborator

I ran the migration on the dev database, so I will convert this PR into a non-draft.

@eecavanna eecavanna marked this pull request as ready for review March 12, 2024 00:41
@eecavanna eecavanna self-requested a review March 12, 2024 00:42
@eecavanna eecavanna merged commit 1007026 into main Mar 12, 2024
1 check passed
@eecavanna eecavanna deleted the nmdc-schema-10.1.4 branch March 12, 2024 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants