diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2018-06-17 08:51:02 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2018-06-17 08:54:01 +0200 |
| commit | d2ca28db54a5871d851cdd9184f4cf0d31aff946 (patch) | |
| tree | 3c748d68bf15807468918b6a7c960ce7cac70738 /tests/schema/models.py | |
| parent | d28360aa48e40af43450dcdd3843fe7b197b898c (diff) | |
[2.1.x] Fixed #29496 -- Fixed crash on Oracle when converting a non-unique field to primary key.
Thanks Tim Graham for the review.
Backport of 6dd4edb1b4f5441c5f543e29395039839c50d10b from master
Diffstat (limited to 'tests/schema/models.py')
| -rw-r--r-- | tests/schema/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/schema/models.py b/tests/schema/models.py index 4512d8bc01..f6bdbd8815 100644 --- a/tests/schema/models.py +++ b/tests/schema/models.py @@ -12,6 +12,7 @@ class Author(models.Model): name = models.CharField(max_length=255) height = models.PositiveIntegerField(null=True, blank=True) weight = models.IntegerField(null=True, blank=True) + uuid = models.UUIDField(null=True) class Meta: apps = new_apps |
