From ca348d922d6bcd5961dffc975b6cc606ed29eeff Mon Sep 17 00:00:00 2001 From: phl0 Date: Tue, 16 Jan 2024 09:18:36 +0100 Subject: [PATCH] Make index compatible with older mySQL DBs --- application/migrations/173_main_index_cleanup.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/application/migrations/173_main_index_cleanup.php b/application/migrations/173_main_index_cleanup.php index c9da3a1f2..0158dcb7e 100644 --- a/application/migrations/173_main_index_cleanup.php +++ b/application/migrations/173_main_index_cleanup.php @@ -17,10 +17,10 @@ class Migration_main_index_cleanup extends CI_Migration { $this->rm_ix('HRD_IDX_COL_PFX'); $this->rm_ix('HRD_IDX_COL_TIME_ON'); $this->add_ix('idx_HRD_DBL_CHK','`station_id`, `COL_CALL`,`COL_BAND`,`COL_MODE`'); - $this->add_ix('idx_HRD_COL_BAND_station_id','`station_id`,`COL_BAND`,`COL_TIME_ON` desc'); - $this->add_ix('idx_HRD_COL_CALL_station_id','`station_id`,`COL_CALL`,`COL_TIME_ON` desc'); - $this->add_ix('idx_HRD_COL_DXCC_station_id','`station_id`,`COL_DXCC`,`COL_TIME_ON` desc'); - $this->add_ix('idx_HRD_station_id','`station_id`,`COL_TIME_ON` desc'); + $this->add_ix('idx_HRD_COL_BAND_station_id','`station_id`,`COL_BAND`,`COL_TIME_ON`'); + $this->add_ix('idx_HRD_COL_CALL_station_id','`station_id`,`COL_CALL`,`COL_TIME_ON`'); + $this->add_ix('idx_HRD_COL_DXCC_station_id','`station_id`,`COL_DXCC`,`COL_TIME_ON`'); + $this->add_ix('idx_HRD_station_id','`station_id`,`COL_TIME_ON`'); }