remove_plan_pitstop_feature #11

Merged
jlusiardi merged 8 commits from remove_plan_pitstop_feature into main 2024-05-22 11:50:44 +02:00
Showing only changes of commit 0791a23d8c - Show all commits

View File

@ -164,7 +164,7 @@ class Consumable(db.Model):
name = db.Column(db.String(255), unique=True)
unit = db.Column(db.String(255))
vehicles = db.relationship("Vehicle", secondary=vehicles_consumables)
vehicles = db.relationship("Vehicle", secondary=vehicles_consumables, viewonly=True)
def __init__(self, name, unit):
self.name = name