diff options
| author | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2024-08-01 09:21:07 +0200 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2024-08-01 09:25:33 +0200 |
| commit | 3dac3271d286f2790780e89d31ddbb7197f8defa (patch) | |
| tree | 79c692137c241e587c82dea21e3d76b2afe320d6 /tests/schema/models.py | |
| parent | 8cf931dd2fde2561a615b96d5f709c15b672c4ba (diff) | |
Reverted "Fixed #28646 -- Prevented duplicate index when unique is set to True on PostgreSQL."
This reverts commit 9cf9c796be8dd53bc3b11355ff39d65c81d7be6d due to a crash on Oracle
as it didn't allow multiple indexes on the same field.
Diffstat (limited to 'tests/schema/models.py')
| -rw-r--r-- | tests/schema/models.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/schema/models.py b/tests/schema/models.py index 2fc9095b61..75e32a0eab 100644 --- a/tests/schema/models.py +++ b/tests/schema/models.py @@ -147,20 +147,6 @@ class IntegerPK(models.Model): db_table = "INTEGERPK" # uppercase to ensure proper quoting -class CharFieldPK(models.Model): - field1 = models.CharField(max_length=10, primary_key=True) - - class Meta: - apps = new_apps - - -class CharFieldPKUnique(models.Model): - field1 = models.CharField(max_length=10, primary_key=True, unique=True) - - class Meta: - apps = new_apps - - class Note(models.Model): info = models.TextField() address = models.TextField(null=True) |
