diff options
| author | Marc Tamlyn <marc.tamlyn@gmail.com> | 2014-09-04 16:32:51 +0100 |
|---|---|---|
| committer | Marc Tamlyn <marc.tamlyn@gmail.com> | 2014-09-06 19:01:06 +0100 |
| commit | 14c8456ffe7e6388383e6fe5c3f51cd20810ea49 (patch) | |
| tree | 367c509d9f75b976657551fe12b3ae689f512577 /tests/commands_sql/models.py | |
| parent | e5febfb3c3873e535be1cde047a1f738922564d5 (diff) | |
Fixed #23416 -- Make sure DatabaseCreation respects checks.
Migrations respected Field.db_parameters()['check'], but
DatabaseCreation was still using just Field.db_type().
Diffstat (limited to 'tests/commands_sql/models.py')
| -rw-r--r-- | tests/commands_sql/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/commands_sql/models.py b/tests/commands_sql/models.py index 78ad722307..fe5768b3dd 100644 --- a/tests/commands_sql/models.py +++ b/tests/commands_sql/models.py @@ -8,3 +8,4 @@ class Comment(models.Model): class Book(models.Model): title = models.CharField(max_length=100, db_index=True) comments = models.ManyToManyField(Comment) + counter = models.PositiveIntegerField() |
