remove_plan_pitstop_feature #11
|
@ -164,7 +164,7 @@ class Consumable(db.Model):
|
||||||
name = db.Column(db.String(255), unique=True)
|
name = db.Column(db.String(255), unique=True)
|
||||||
unit = db.Column(db.String(255))
|
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):
|
def __init__(self, name, unit):
|
||||||
self.name = name
|
self.name = name
|
||||||
|
|
Loading…
Reference in New Issue