Compare commits

..

No commits in common. "fc287188468cf4b6a6239bc325d46709bfe4b8db" and "f8c7d70f720d40e6c95dff3e1f80715beba1f423" have entirely different histories.

1 changed files with 1 additions and 6 deletions

View File

@ -223,10 +223,6 @@ class Membership(ModelBase):
# Timestamp the user joined the game
joined = Column(DateTime, nullable=False, server_default=text('CURRENT_TIMESTAMP'))
# Timestamp of the last time the user viewed the post feed
# This is NULL if the player has never viewed posts
last_post_seen = Column(DateTime, nullable=True)
###################
# Player settings #
###################
@ -561,8 +557,7 @@ class Post(ModelBase):
lexicon_id = Column(Integer, ForeignKey('lexicon.id'), nullable=False)
# The user who made the post
# This may be NULL if the post was made by Amanuensis
user_id = Column(Integer, ForeignKey('user.id'), nullable=True)
user_id = Column(Integer, ForeignKey('user.id'), nullable=False)
################
# Post content #