mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Format with Black for lint apeasing
This commit is contained in:
parent
7a7f237187
commit
a87daa6ef3
@ -56,9 +56,11 @@ def migrate(migrator: Migrator, database, **kwargs):
|
||||
)
|
||||
|
||||
# Drop Column after migration
|
||||
servers_columns = db.get_columns('servers')
|
||||
servers_columns = db.get_columns("servers")
|
||||
if any(column_data.name == "server_uuid" for column_data in servers_columns):
|
||||
Console.debug("Servers.server_uuid not deleted before Crafty version 4.3.2, skipping this part")
|
||||
Console.debug(
|
||||
"Servers.server_uuid not deleted before Crafty version 4.3.2, skipping this part"
|
||||
)
|
||||
migrator.drop_columns("servers", ["server_uuid"])
|
||||
|
||||
except Exception as ex:
|
||||
|
Loading…
Reference in New Issue
Block a user