Skip to content

Commit ba8411a

Browse files
committed
fix test
1 parent 8f6fdc9 commit ba8411a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/test_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class UsersWorkSchedule(db.Model):
5151
5252
__tablename__ = 'users_WorkSchedule'
5353
54-
id = db.Column(ARRAY((1,1)), nullable=False)
54+
id = db.Column(ARRAY((1,1)), primary_key=True)
5555
request_drop_date = db.Column(smalldatetime())
5656
shift_class = db.Column(db.String(5))
5757
start_history = db.Column(datetime2(7), nullable=False)

0 commit comments

Comments
 (0)