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
f11aa2d6c6
commit
85969350bc
13 files changed
+146
-29
No files matched your search
+8
-1
@@ -6,4 +6,11 @@ class User(UserMixin, db.Model):
|
||||
username = db.Column(db.String(16))
|
||||
password = db.Column(db.String(32),unique=True)
|
||||
is_admin = db.Column(db.Boolean(),default=False)
|
||||
dat_last = db.Column(db.DateTime())
|
||||
dat_last = db.Column(db.DateTime())
|
||||
|
||||
class Prefix(db.Model):
|
||||
id = db.Column(db.Integer(),primary_key=True,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),unique=True)
|
||||
Reference in new issue
Block a user