summaryrefslogtreecommitdiff
path: root/tests/inspectdb/models.py
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2025-05-06 08:20:56 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2025-05-06 08:21:32 +0200
commit44bda7a6740b60eb72b59dc49a4c7f9a2816cdbf (patch)
treed63ccfef33b2d6f34bbdcc99480d2a89769c7e9a /tests/inspectdb/models.py
parent3c887e5e50ddcb84adef269e9558e603ca0ff620 (diff)
[5.2.x] Refs #36052, #32234 -- Fixed inspectdb tests for CompositePrimaryKey on Oracle.
Tests regression in 4c75858135589f3a00e32eb4d476074536371a32. Backport of dd133054cb98f77577c06d7ef1f2391a865784bc from main
Diffstat (limited to 'tests/inspectdb/models.py')
-rw-r--r--tests/inspectdb/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/inspectdb/models.py b/tests/inspectdb/models.py
index 83477276c9..515a6cd207 100644
--- a/tests/inspectdb/models.py
+++ b/tests/inspectdb/models.py
@@ -157,7 +157,7 @@ class DbComment(models.Model):
required_db_features = {"supports_comments"}
-class CompositePrimaryKeyModel(models.Model):
+class CompositePKModel(models.Model):
pk = models.CompositePrimaryKey("column_1", "column_2")
column_1 = models.IntegerField()
column_2 = models.IntegerField()