Collect database model error
This commit is contained in:
parent
7de7e1bc71
commit
3eedfaa7d5
|
@ -77,8 +77,7 @@ class DBNetworkElement(db.Model):
|
||||||
|
|
||||||
id = db.Column(db.Integer, primary_key=True)
|
id = db.Column(db.Integer, primary_key=True)
|
||||||
network_template = db.Column(db.Integer, db.ForeignKey("network_template.id"), nullable=False)
|
network_template = db.Column(db.Integer, db.ForeignKey("network_template.id"), nullable=False)
|
||||||
vni = db.Column(db.Integer, nullable=False)
|
vni = db.Column(db.Text, nullable=False)
|
||||||
vni2 = db.Column(db.Text, nullable=False)
|
|
||||||
|
|
||||||
def __init__(self, network_template, vni):
|
def __init__(self, network_template, vni):
|
||||||
self.network_template = network_template
|
self.network_template = network_template
|
||||||
|
|
Loading…
Reference in New Issue