mirror of
https://github.com/TakeusV1/flask_ipam.git
synced 2026-10-13 17:15:33 +02:00
V1.0
This commit is contained in:
1 parent
602bb7d706
commit
9f9f90422a
7 files changed
+74
-25
No files matched your search
+1
-1
@@ -18,7 +18,7 @@ class Network(db.Model):
|
||||
class Allocation(db.Model):
|
||||
ipv4 = db.Column(db.String(16),primary_key=True,unique=True)
|
||||
net_id = db.Column(db.Integer(),db.ForeignKey('network.id'))
|
||||
hostname = db.Column(db.String(32),unique=True)
|
||||
hostname = db.Column(db.String(32))
|
||||
description = db.Column(db.String(64))
|
||||
device_id = db.Column(db.Integer(),db.ForeignKey('inventory.id'))
|
||||
|
||||
|
||||
Reference in new issue
Block a user