fix: создание индексов, если они отсутствуют
This commit is contained in:
@@ -10,5 +10,5 @@ CREATE TABLE IF NOT EXISTS players (
|
|||||||
location_world VARCHAR(64) NOT NULL
|
location_world VARCHAR(64) NOT NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE INDEX idx_players_uuid ON players(uuid);
|
CREATE INDEX IF NOT EXISTS idx_players_uuid ON players(uuid);
|
||||||
CREATE INDEX idx_players_name ON players(name);
|
CREATE INDEX IF NOT EXISTS idx_players_name ON players(name);
|
||||||
Reference in New Issue
Block a user