Remove special cases based on SITE
This commit is contained in:
parent
71743a3bfc
commit
4341e2d980
5 changed files with 35 additions and 197 deletions
|
@ -28,11 +28,6 @@ cardview = bool(int(environ.get("CARD_VIEW", 1)))
|
|||
|
||||
class User(Base):
|
||||
__tablename__ = "users"
|
||||
|
||||
if SITE == "pcmemes.net":
|
||||
basedcount = Column(Integer, default=0)
|
||||
pills = deferred(Column(String, default=""))
|
||||
|
||||
id = Column(Integer, primary_key=True)
|
||||
username = Column(String)
|
||||
namecolor = Column(String, default=DEFAULT_COLOR)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue