removing uuid from server model

This commit is contained in:
Silversthorn 2024-02-16 20:23:23 +01:00
parent 12627cec8e
commit b30d7b627c

View File

@ -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="")