add icon_path column in experience_links table
This commit is contained in:
1 parent
684677725a
commit
e62578c285
2 files changed
+6
No files matched your search
@@ -29,6 +29,11 @@ class ExperienceLink(Base):
|
|||||||
nullable=False
|
nullable=False
|
||||||
)
|
)
|
||||||
|
|
||||||
|
icon_path = Column(
|
||||||
|
String(255),
|
||||||
|
nullable=False
|
||||||
|
)
|
||||||
|
|
||||||
experience_id = Column(
|
experience_id = Column(
|
||||||
Integer,
|
Integer,
|
||||||
ForeignKey(
|
ForeignKey(
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ class ExperienceLinkResponse(BaseModel):
|
|||||||
id: int
|
id: int
|
||||||
label: str
|
label: str
|
||||||
link: str
|
link: str
|
||||||
|
icon_path: str
|
||||||
|
|
||||||
class Config:
|
class Config:
|
||||||
from_attributes = True
|
from_attributes = True
|
||||||
|
|||||||
Reference in new issue
Block a user