Skip to content
Snippets Groups Projects
Commit 9bebe99e authored by Martin Mareš's avatar Martin Mareš
Browse files

DB: Upravena points_history i v ORMu

parent 1f06aee2
No related branches found
No related tags found
No related merge requests found
...@@ -439,7 +439,7 @@ class PointsHistory(Base): ...@@ -439,7 +439,7 @@ class PointsHistory(Base):
points_history_id = Column(Integer, primary_key=True, server_default=text("nextval('points_history_points_history_id_seq'::regclass)")) points_history_id = Column(Integer, primary_key=True, server_default=text("nextval('points_history_points_history_id_seq'::regclass)"))
task_id = Column(Integer, ForeignKey('tasks.task_id'), nullable=False) task_id = Column(Integer, ForeignKey('tasks.task_id'), nullable=False)
participant_id = Column(Integer, ForeignKey('users.user_id'), nullable=False) participant_id = Column(Integer, ForeignKey('users.user_id'), nullable=False)
points = Column(Integer, nullable=False) points = Column(Integer)
points_by = Column(Integer, ForeignKey('users.user_id'), nullable=False) points_by = Column(Integer, ForeignKey('users.user_id'), nullable=False)
points_at = Column(DateTime(True), nullable=False) points_at = Column(DateTime(True), nullable=False)
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment