privatize user CSS (fixes #273)
implements issue comment: https://github.com/themotte/rDrama/issues/273#issuecomment-1240543608
This commit is contained in:
parent
d0ba568738
commit
fb65cf0416
14 changed files with 31 additions and 46 deletions
|
@ -57,8 +57,8 @@ class User(Base):
|
|||
verifiedcolor = Column(String)
|
||||
winnings = Column(Integer, default=0, nullable=False)
|
||||
email = deferred(Column(String))
|
||||
css = deferred(Column(String))
|
||||
profilecss = deferred(Column(String))
|
||||
css = deferred(Column(String(CSS_LENGTH_MAXIMUM)))
|
||||
profilecss = deferred(Column(String(CSS_LENGTH_MAXIMUM)))
|
||||
passhash = deferred(Column(String, nullable=False))
|
||||
post_count = Column(Integer, default=0, nullable=False)
|
||||
comment_count = Column(Integer, default=0, nullable=False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue