Skip to content

Commit ad3b62c

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Revert "Use HasStandardAttributes as parent class for Tags DB model"" into unmaintained/yoga
2 parents e86a460 + f15f458 commit ad3b62c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neutron/db/models/tag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ class Tag(model_base.BASEV2):
2626
tag = sa.Column(sa.String(255), nullable=False, primary_key=True)
2727
standard_attr = orm.relationship(
2828
'StandardAttribute', load_on_pending=True,
29-
backref=orm.backref('tags', lazy='joined', viewonly=True),
29+
backref=orm.backref('tags', lazy='subquery', viewonly=True),
3030
sync_backref=False)
3131
revises_on_change = ('standard_attr', )

0 commit comments

Comments
 (0)