From c0fd85ff06569add882ed3db7c25dc566a4cd846 Mon Sep 17 00:00:00 2001 From: AhmedMahdy14 Date: Mon, 21 Nov 2022 13:14:29 +0000 Subject: [PATCH] Added comment to Applicaion name field --- apihub/subscription/models.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apihub/subscription/models.py b/apihub/subscription/models.py index e97867c..8ba5340 100644 --- a/apihub/subscription/models.py +++ b/apihub/subscription/models.py @@ -24,7 +24,13 @@ class Application(Base): __tablename__ = "application" id = Column(Integer, primary_key=True, index=True) - name = Column(String, unique=True, index=True, nullable=False) + name = Column( + String, + unique=True, + index=True, + nullable=False, + comment="Application name with version, e.g. app1-v1", + ) url = Column(String) description = Column(String)