mirror of
https://github.com/TakeusV1/flask_ipam.git
synced 2026-10-13 17:15:33 +02:00
V1.5
- BLACKLIST SYSTEM - FIXES
This commit is contained in:
1 parent
1f32755ade
commit
a2a86db788
4 files changed
+37
-3
No files matched your search
@@ -12,10 +12,12 @@ class User(UserMixin, db.Model):
|
||||
|
||||
class Network(db.Model):
|
||||
id = db.Column(db.Integer(),primary_key=True,unique=True)
|
||||
vlan_id = db.Column(db.Integer(),unique=True)
|
||||
prefix = db.Column(db.Integer())
|
||||
network_address = db.Column(db.String(16),unique=True)
|
||||
hosts = db.Column(db.Integer())
|
||||
description = db.Column(db.String(32))
|
||||
is_blacklisted = db.Column(db.Boolean(),default=False)
|
||||
|
||||
class Allocation(db.Model):
|
||||
ipv4 = db.Column(db.String(16),primary_key=True,unique=True)
|
||||
|
||||
Reference in new issue
Block a user