-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add django-migration-git-conflict to prevent divergent migration merges
- Loading branch information
1 parent
d377c69
commit 5ca5e39
Showing
16 changed files
with
318 additions
and
245 deletions.
There are no files selected for viewing
This file contains 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
The contents of this directory is autogenerated and shouldn't be modified | ||
manually. It stores the latest migration of each of the installed applications. | ||
When two git branches are merged, and they contain different sets of migrations, | ||
a merge migration has to be applied on top of them. This is enforced by putting | ||
the name of the latest migration to the file in this directory, and if two | ||
branches have different migrations, there will be a conflict in this file which | ||
will stop git from doing an unsafe merge. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# This file is autogenerated by makemigrations. | ||
# If you have a merge conflict in this file, it means you need to run: | ||
# manage.py makemigrations --merge | ||
# in order to resolve the conflict between migrations. | ||
0058_moderation_decision |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# This file is autogenerated by makemigrations. | ||
# If you have a merge conflict in this file, it means you need to run: | ||
# manage.py makemigrations --merge | ||
# in order to resolve the conflict between migrations. | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# This file is autogenerated by makemigrations. | ||
# If you have a merge conflict in this file, it means you need to run: | ||
# manage.py makemigrations --merge | ||
# in order to resolve the conflict between migrations. | ||
0003_logentry_add_action_flag_choices |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# This file is autogenerated by makemigrations. | ||
# If you have a merge conflict in this file, it means you need to run: | ||
# manage.py makemigrations --merge | ||
# in order to resolve the conflict between migrations. | ||
0012_alter_user_first_name_max_length |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# This file is autogenerated by makemigrations. | ||
# If you have a merge conflict in this file, it means you need to run: | ||
# manage.py makemigrations --merge | ||
# in order to resolve the conflict between migrations. | ||
0002_remove_content_type_name |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# This file is autogenerated by makemigrations. | ||
# If you have a merge conflict in this file, it means you need to run: | ||
# manage.py makemigrations --merge | ||
# in order to resolve the conflict between migrations. | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# This file is autogenerated by makemigrations. | ||
# If you have a merge conflict in this file, it means you need to run: | ||
# manage.py makemigrations --merge | ||
# in order to resolve the conflict between migrations. | ||
0001_initial |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# This file is autogenerated by makemigrations. | ||
# If you have a merge conflict in this file, it means you need to run: | ||
# manage.py makemigrations --merge | ||
# in order to resolve the conflict between migrations. | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# This file is autogenerated by makemigrations. | ||
# If you have a merge conflict in this file, it means you need to run: | ||
# manage.py makemigrations --merge | ||
# in order to resolve the conflict between migrations. | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# This file is autogenerated by makemigrations. | ||
# If you have a merge conflict in this file, it means you need to run: | ||
# manage.py makemigrations --merge | ||
# in order to resolve the conflict between migrations. | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# This file is autogenerated by makemigrations. | ||
# If you have a merge conflict in this file, it means you need to run: | ||
# manage.py makemigrations --merge | ||
# in order to resolve the conflict between migrations. | ||
0007_application_post_logout_redirect_uris |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# This file is autogenerated by makemigrations. | ||
# If you have a merge conflict in this file, it means you need to run: | ||
# manage.py makemigrations --merge | ||
# in order to resolve the conflict between migrations. | ||
|