Merge "Revert "Use HasStandardAttributes as parent class for Tags DB model"" into stable/2024.1
This commit is contained in:
commit
4447da7b26
@ -26,6 +26,6 @@ class Tag(model_base.BASEV2):
|
|||||||
tag = sa.Column(sa.String(255), nullable=False, primary_key=True)
|
tag = sa.Column(sa.String(255), nullable=False, primary_key=True)
|
||||||
standard_attr = orm.relationship(
|
standard_attr = orm.relationship(
|
||||||
'StandardAttribute', load_on_pending=True,
|
'StandardAttribute', load_on_pending=True,
|
||||||
backref=orm.backref('tags', lazy='joined', viewonly=True),
|
backref=orm.backref('tags', lazy='subquery', viewonly=True),
|
||||||
sync_backref=False)
|
sync_backref=False)
|
||||||
revises_on_change = ('standard_attr', )
|
revises_on_change = ('standard_attr', )
|
||||||
|
Loading…
Reference in New Issue
Block a user