temp: Add dummy model for testing migrations [BOMS-227]#1138
Merged
Conversation
robrap
approved these changes
Nov 14, 2025
Contributor
robrap
left a comment
There was a problem hiding this comment.
Later, your plan is not to revert the migration (from code), but to revert the model and and create a new migration for the delete?
Member
Author
|
Correct -- adding a second migration. |
Use heading bars that are consistent internally and with the rest of the codebase.
This will be followed later by a revert of the model and addition of a
corresponding second migration.
Output of `sqlmigrate edx_arch_experiments 0001_initial`:
```
CREATE TABLE "edx_arch_experiments_boms227" ("id" integer NOT NULL PRIMARY KEY AUTOINCREMENT, "dummy_field" varchar(50) NOT NULL);
```
With `--backwards`:
```
DROP TABLE "edx_arch_experiments_boms227";
```
BOMS-227
a38da62 to
5f0351e
Compare
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.
Also includes a commit to clean up the changelog headings.
Output of
sqlmigrate edx_arch_experiments 0001_initial:With
--backwards:Merge checklist:
Check off if complete or not applicable: