|
@@ -165,6 +165,7 @@ class ConsumptionType(db.Model):
|
165
|
165
|
consumption_type_id = db.Column(db.Integer, primary_key=True)
|
166
|
166
|
name = db.Column(db.String, nullable=False)
|
167
|
167
|
icon = db.Column(db.String)
|
|
168
|
+ active = db.Column(db.Boolean, default=True)
|
168
|
169
|
|
169
|
170
|
consumptions = db.relationship("Consumption", backref="consumption_type", lazy=True)
|
170
|
171
|
|