Remove special cases for unused awards.
Removes the following awards / fields on User: - flairlock - progressivestack - bird - longpost (pizzashill) - marseyawarded - rehab - deflector - mute - unmutable - eye (All-Seeing Eye) - alt (Alt-Seeing Eye) Primarily motivated by starting to remove some un-Mottelike cruft from core commenting/posting routes. Cleared out other inapplicable awards while in the process.
This commit is contained in:
parent
9de6f20dea
commit
3f360bb457
18 changed files with 77 additions and 582 deletions
|
@ -57,12 +57,7 @@ class User(Base):
|
|||
patron_utc = Column(Integer, default=0, nullable=False)
|
||||
verified = Column(String)
|
||||
verifiedcolor = Column(String)
|
||||
marseyawarded = Column(Integer)
|
||||
rehab = Column(Integer)
|
||||
longpost = Column(Integer)
|
||||
winnings = Column(Integer, default=0, nullable=False)
|
||||
unblockable = Column(Boolean)
|
||||
bird = Column(Integer)
|
||||
email = deferred(Column(String))
|
||||
css = deferred(Column(String))
|
||||
profilecss = deferred(Column(String))
|
||||
|
@ -87,18 +82,11 @@ class User(Base):
|
|||
newtabexternal = Column(Boolean, default=True, nullable=False)
|
||||
reddit = Column(String, default='old.reddit.com', nullable=False)
|
||||
nitter = Column(Boolean)
|
||||
mute = Column(Boolean)
|
||||
unmutable = Column(Boolean)
|
||||
eye = Column(Boolean)
|
||||
alt = Column(Boolean)
|
||||
frontsize = Column(Integer, default=25, nullable=False)
|
||||
controversial = Column(Boolean, default=False, nullable=False)
|
||||
bio = deferred(Column(String))
|
||||
bio_html = Column(String)
|
||||
fp = Column(String)
|
||||
fish = Column(Boolean)
|
||||
progressivestack = Column(Integer)
|
||||
deflector = Column(Integer)
|
||||
friends = deferred(Column(String))
|
||||
friends_html = deferred(Column(String))
|
||||
enemies = deferred(Column(String))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue