diff options
Diffstat (limited to 'tests/schema/tests.py')
| -rw-r--r-- | tests/schema/tests.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/schema/tests.py b/tests/schema/tests.py index 077c41611f..d7db1f8949 100644 --- a/tests/schema/tests.py +++ b/tests/schema/tests.py @@ -554,6 +554,10 @@ class SchemaTests(TransactionTestCase): strict=True, ) + # This will fail if DROP DEFAULT is inadvertently executed on this + # field which drops the id sequence, at least on PostgreSQL. + Author.objects.create(name='Foo') + def test_rename(self): """ Tests simple altering of fields |
