change type of mode in project supervisor
This commit is contained in:
parent
4f139ec137
commit
116f70b4a8
@ -17,7 +17,7 @@ class ProjectSupervisorFactory(alchemy.SQLAlchemyModelFactory):
|
|||||||
email = Faker('email')
|
email = Faker('email')
|
||||||
limit_group = 4 # FuzzyInteger(3, 5)
|
limit_group = 4 # FuzzyInteger(3, 5)
|
||||||
count_groups = 4
|
count_groups = 4
|
||||||
mode = FuzzyChoice([True, False])
|
mode = 0
|
||||||
|
|
||||||
|
|
||||||
class GroupFactory(alchemy.SQLAlchemyModelFactory):
|
class GroupFactory(alchemy.SQLAlchemyModelFactory):
|
||||||
|
@ -7,4 +7,4 @@ class ProjectSupervisor(Base, Person):
|
|||||||
|
|
||||||
limit_group = db.Column(db.Integer, default=1, nullable=False)
|
limit_group = db.Column(db.Integer, default=1, nullable=False)
|
||||||
count_groups = db.Column(db.Integer, default=1, nullable=False)
|
count_groups = db.Column(db.Integer, default=1, nullable=False)
|
||||||
mode = db.Column(db.Boolean, default=True, nullable=False) # True - stationary, False - non-stationary
|
mode = db.Column(db.Integer, default=0, nullable=False) # 0 - stationary, 1 - non-stationary, 2 - both
|
||||||
|
Loading…
Reference in New Issue
Block a user