Compare commits
1 Commits
2d49c70f0f
...
53f1108aba
Author | SHA1 | Date | |
---|---|---|---|
53f1108aba |
@ -188,7 +188,7 @@ class ProfileLanguage(db.Model):
|
||||
__tablename__ = "profile_language"
|
||||
|
||||
profile_id = Column(Integer, ForeignKey("profile.id"), primary_key=True)
|
||||
language_id = Column(Integer, ForeignKey("language.id"), primary_key=True)
|
||||
language_id = Column(String(2), ForeignKey("language.id"), primary_key=True)
|
||||
level = Column(SmallInteger, nullable=False)
|
||||
|
||||
profile = relationship("Profile", back_populates="languages")
|
||||
|
Loading…
Reference in New Issue
Block a user