mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-09-27 20:17:04 +02:00
Comment out MySQL index migration and remove Sqlite optimization
Commented out all index creation statements in the MySQL migration 016 for table and index optimization. Removed the corresponding Sqlite migration 016 entirely. Also replaced TRUNCATE TABLE with DELETE FROM in Sqlite migration 013 for sa_players_ips to improve compatibility.
This commit is contained in:
parent
a03964c08a
commit
038641dbdf
3 changed files with 28 additions and 61 deletions
|
|
@ -1,4 +1,4 @@
|
|||
TRUNCATE TABLE `sa_players_ips`;
|
||||
DELETE FROM sa_players_ips;
|
||||
|
||||
ALTER TABLE `sa_players_ips` ADD `name` VARCHAR(64) NULL DEFAULT NULL;
|
||||
CREATE INDEX IF NOT EXISTS `idx_sa_players_ips_used_at` ON `sa_players_ips` (`used_at` DESC);
|
||||
Loading…
Add table
Add a link
Reference in a new issue