mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
removing uuid from server model
This commit is contained in:
parent
12627cec8e
commit
b30d7b627c
@ -24,7 +24,6 @@ logger = logging.getLogger(__name__)
|
|||||||
class Servers(BaseModel):
|
class Servers(BaseModel):
|
||||||
server_id = CharField(primary_key=True, default=Helpers.create_uuid())
|
server_id = CharField(primary_key=True, default=Helpers.create_uuid())
|
||||||
created = DateTimeField(default=datetime.datetime.now)
|
created = DateTimeField(default=datetime.datetime.now)
|
||||||
# server_uuid = CharField(default="", index=True)
|
|
||||||
server_name = CharField(default="Server", index=True)
|
server_name = CharField(default="Server", index=True)
|
||||||
path = CharField(default="")
|
path = CharField(default="")
|
||||||
backup_path = CharField(default="")
|
backup_path = CharField(default="")
|
||||||
|
Loading…
Reference in New Issue
Block a user