Compare commits
2 Commits
474b9caf22
...
75a71953f1
| Author | SHA1 | Date | |
|---|---|---|---|
| 75a71953f1 | |||
| 448ba351a7 |
@@ -23,7 +23,7 @@ class Assembly(db.Model):
|
|||||||
user_id = db.Column(db.Integer, db.ForeignKey('users.id'), nullable=False)
|
user_id = db.Column(db.Integer, db.ForeignKey('users.id'), nullable=False)
|
||||||
user = db.relationship('User', backref='assemblies')
|
user = db.relationship('User', backref='assemblies')
|
||||||
|
|
||||||
order_id = db.Column(db.Integer, nullable=False, comment='ID заказа в базе данных')
|
order_id = db.Column(db.Integer, nullable=False, comment='ID заказа в базе данных', index=True)
|
||||||
is_active = db.Column(db.Boolean, nullable=False, comment='Активная ли сборка')
|
is_active = db.Column(db.Boolean, nullable=False, comment='Активная ли сборка')
|
||||||
state = db.Column(db.Integer, nullable=False, comment='Состояние сборки')
|
state = db.Column(db.Integer, nullable=False, comment='Состояние сборки')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user