Remove IF NOT EXISTS clause from CREATE INDEX statement to ensure compatibility with older MySQL versions. Migration framework ensures each migration runs only once, making the clause unnecessary.
3 lines
56 B
SQL
3 lines
56 B
SQL
CREATE INDEX idx_timestamp ON traffic_log (timestamp);
|
|
|