remove : space between function args
This commit is contained in:
@@ -121,7 +121,7 @@ class GameplayDatabase:
|
|||||||
self._enable_zstd_compression(connection)
|
self._enable_zstd_compression(connection)
|
||||||
connection.execute("PRAGMA optimize")
|
connection.execute("PRAGMA optimize")
|
||||||
|
|
||||||
def _create_indexes_if_tables(self, connection: sqlite3.Connection) -> None:
|
def _create_indexes_if_tables(self, connection:sqlite3.Connection) -> None:
|
||||||
real_tables = {
|
real_tables = {
|
||||||
row[0] for row in connection.execute(
|
row[0] for row in connection.execute(
|
||||||
"SELECT name FROM sqlite_master WHERE type='table'"
|
"SELECT name FROM sqlite_master WHERE type='table'"
|
||||||
@@ -159,7 +159,7 @@ class GameplayDatabase:
|
|||||||
|
|
||||||
connection.execute(f"ALTER TABLE {actual_table} ADD COLUMN {column_name} {column_type}")
|
connection.execute(f"ALTER TABLE {actual_table} ADD COLUMN {column_name} {column_type}")
|
||||||
|
|
||||||
def _enable_zstd_compression(self, connection: sqlite3.Connection) -> None:
|
def _enable_zstd_compression(self, connection:sqlite3.Connection) -> None:
|
||||||
compressed_columns = [
|
compressed_columns = [
|
||||||
("turns", "board_state_json"),
|
("turns", "board_state_json"),
|
||||||
("turns", "snakes_json"),
|
("turns", "snakes_json"),
|
||||||
|
|||||||
Reference in New Issue
Block a user