uranusjr commented on code in PR #25280:
URL: https://github.com/apache/airflow/pull/25280#discussion_r938431179
##########
airflow/models/dag.py:
##########
@@ -2797,6 +2831,29 @@ def __repr__(self):
return self.name
+class DagOwnerAttributes(Base):
+ """
+ Table defining different owner attributes. For example, a link for an
owner that will be passed as
+ a hyperlink to the DAGs view
+ """
+
+ __tablename__ = "dag_owner_attributes"
+ dag_id = Column(
+ StringID(),
+ ForeignKey('dag.dag_id', name='dag.dag_id', ondelete='CASCADE'),
+ nullable=False,
+ primary_key=True,
+ )
+ owner = Column(String(100), primary_key=True, nullable=False)
Review Comment:
We need validation and documentation somewhere to communicate this new
100-character restriction. (Likely not going to affect anyone, but still)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]