gtrtgrtg
This commit is contained in:
15
models/ips.py
Normal file
15
models/ips.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from peewee import *
|
||||
|
||||
from models import BaseModel, db1
|
||||
|
||||
|
||||
class Ips(BaseModel):
|
||||
id = IntegerField(primary_key=True)
|
||||
host = CharField(null=True)
|
||||
port = CharField(null=True)
|
||||
username = CharField(null=True)
|
||||
password = CharField(null=True)
|
||||
|
||||
class Meta:
|
||||
database = db1
|
||||
table_name = 'ips'
|
||||
Reference in New Issue
Block a user