-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #96 from microsoft/dev
Prepare for 1.1.2 release
- Loading branch information
Showing
18 changed files
with
420 additions
and
237 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
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
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
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
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
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,21 @@ | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('testapp', '0011_test_unique_constraints'), | ||
] | ||
|
||
# Prep test for issue https://github.com/ESSolutions/django-mssql-backend/issues/58 | ||
operations = [ | ||
migrations.CreateModel( | ||
name='TestIndexesRetained', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('a', models.IntegerField(db_index=True)), | ||
('b', models.IntegerField(db_index=True)), | ||
('c', models.IntegerField(db_index=True)), | ||
], | ||
), | ||
] |
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,27 @@ | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('testapp', '0012_test_indexes_retained_part1'), | ||
] | ||
|
||
# Run test for issue https://github.com/ESSolutions/django-mssql-backend/issues/58 | ||
# where the following operations should leave indexes intact | ||
operations = [ | ||
migrations.AlterField( | ||
model_name='testindexesretained', | ||
name='a', | ||
field=models.IntegerField(db_index=True, null=True), | ||
), | ||
migrations.RenameField( | ||
model_name='testindexesretained', | ||
old_name='b', | ||
new_name='b_renamed', | ||
), | ||
migrations.RenameModel( | ||
old_name='TestIndexesRetained', | ||
new_name='TestIndexesRetainedRenamed', | ||
), | ||
] |
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,26 @@ | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('testapp', '0013_test_indexes_retained_part2'), | ||
] | ||
|
||
operations = [ | ||
# Prep test for issue https://github.com/microsoft/mssql-django/issues/86 | ||
migrations.CreateModel( | ||
name='M2MOtherModel', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('name', models.CharField(max_length=10)), | ||
], | ||
), | ||
migrations.CreateModel( | ||
name='TestRenameManyToManyFieldModel', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('others', models.ManyToManyField(to='testapp.M2MOtherModel')), | ||
], | ||
), | ||
] |
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,19 @@ | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('testapp', '0014_test_rename_m2mfield_part1'), | ||
] | ||
|
||
operations = [ | ||
# Run test for issue https://github.com/microsoft/mssql-django/issues/86 | ||
# Must be in a separate migration so that the unique index was created | ||
# (deferred after the previous migration) before we do the rename. | ||
migrations.RenameField( | ||
model_name='testrenamemanytomanyfieldmodel', | ||
old_name='others', | ||
new_name='others_renamed', | ||
), | ||
] |
Oops, something went wrong.