summaryrefslogtreecommitdiff
path: root/oslo_db/tests/sqlalchemy/test_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'oslo_db/tests/sqlalchemy/test_utils.py')
-rw-r--r--oslo_db/tests/sqlalchemy/test_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/oslo_db/tests/sqlalchemy/test_utils.py b/oslo_db/tests/sqlalchemy/test_utils.py
index f519a1f..6b75796 100644
--- a/oslo_db/tests/sqlalchemy/test_utils.py
+++ b/oslo_db/tests/sqlalchemy/test_utils.py
@@ -93,7 +93,7 @@ class FakeTable(Base):
class FakeTableJoinedInh(FakeTable):
__tablename__ = 'fake_table_inh'
- id = Column(String(50), ForeignKey('fake_table.user_id'))
+ id = Column(String(50), ForeignKey('fake_table.user_id'), primary_key=True)
class FakeTableSingleInh(FakeTable):