mirror of
https://github.com/TakeusV1/flask_ipam.git
synced 2026-10-13 17:15:33 +02:00
V1.1
This commit is contained in:
1 parent
e5fbf15828
commit
4628df54e1
8 files changed
+163
-16
No files matched your search
@@ -21,6 +21,8 @@ class Allocation(db.Model):
|
||||
hostname = db.Column(db.String(32))
|
||||
description = db.Column(db.String(64))
|
||||
is_used = db.Column(db.Boolean(),default=False)
|
||||
is_dhcp = db.Column(db.Boolean(),default=False)
|
||||
is_gateway = db.Column(db.Boolean(),default=False)
|
||||
device_id = db.Column(db.Integer(),db.ForeignKey('inventory.id'))
|
||||
|
||||
class Inventory(db.Model):
|
||||
|
||||
Reference in new issue
Block a user