Repository navigation
Conversation
…nd record them Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
… is compared with Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…nd the test that every historical schema converges Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…t the API on a database that is behind Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…therwise lose A row whose assay_type held a current member beside snps was rewritten to genetic_variants alone, and chemical_name was dropped whether or not it held anything. Both now stop and say so, as every other migration does. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
17 of 20 tasks
12 of 20 tasks
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #150. Part 1 of #149.
Adds scripts/migrate.sh and a schema_migrations table, ten migrations for past schema changes that had none, and an API boot check that refuses a database that is behind.
This reaches production. After this merges, the API will not start against an existing database until
scripts/migrate.sh --container <mysql container>has been run there. See mysql/migrations/README.md, "Code and schema move together".Test plan
shell-testsjob green: runner, history upgrade (14 commits converge), expected schematestthat-integrationgreen, with test-schema-migrations.R not skipped🤖 Generated with Claude Code