diff --git a/APP/view/model.py b/APP/view/model.py index 43ce434..dee05dc 100644 --- a/APP/view/model.py +++ b/APP/view/model.py @@ -21,6 +21,7 @@ class Collection(Base): tag = Column(String(255)) phonenum = Column(String(255)) like = Column(Integer) + order =Column(Integer) def __init__(self, id=None, name=None, tag=None, phonenum=None, like=0): self.id = id @@ -28,6 +29,7 @@ class Collection(Base): self.tag = tag self.phonenum = phonenum self.like = like + self.order = id class Block(Base):