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

Restore schema 10.0.0 #4529

Merged
merged 1 commit into from
Nov 20, 2023
Merged

Restore schema 10.0.0 #4529

merged 1 commit into from
Nov 20, 2023

Conversation

jgallagher
Copy link
Contributor

@jgallagher jgallagher commented Nov 20, 2023

This was accidentally merged in with 11.0.0 in #3804

Fixes #4530 (but see #4531 for followup work)

Copy link
Collaborator

@smklein smklein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for fixing this!

@jgallagher jgallagher enabled auto-merge (squash) November 20, 2023 20:09
@jgallagher jgallagher merged commit 74d3bf9 into main Nov 20, 2023
19 of 20 checks passed
@jgallagher jgallagher deleted the restore-schema-10.0.0 branch November 20, 2023 21:13
sunshowers pushed a commit that referenced this pull request Nov 22, 2023
Fixes #4531.

If I cherry-pick these changes onto `main` just prior to #4529 (i.e.,
when the `11.0.0` directory contained upsql files for both 10.0.0 and
11.0.0), the `dbinit_equals_sum_of_all_up` integration test fails as
desired:

```
thread 'integration_tests::schema::dbinit_equals_sum_of_all_up' panicked at nexus/tests/integration_tests/schema.rs:133:58:
called `Result::unwrap()` on an `Err` value: "invalid `up*.sql` combination: /data/github/omicron/nexus/../schema/crdb/11.0.0/up01.sql, /data/github/omicron/nexus/../schema/crdb/11.0.0/up1.sql"
```
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.

v10 schema changes removed, renamed into v11
3 participants