add moves.is_pass
This commit is contained in:
parent
9ce70cff4a
commit
2fe0e4d78b
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,8 @@ class Move(db.Model):
|
|||
x_point = db.Column(db.Integer)
|
||||
y_point = db.Column(db.Integer)
|
||||
move_number = db.Column(db.Integer)
|
||||
is_main = db.Column(db.Boolean(), nullable=False, default=True)
|
||||
is_pass = db.Column(db.Boolean, nullable=False, default=False)
|
||||
is_main = db.Column(db.Boolean, nullable=False, default=True)
|
||||
|
||||
# foreign keys
|
||||
game = db.Column(db.Integer, db.ForeignKey("games.id"), nullable=False)
|
||||
|
|
Loading…
Reference in a new issue