Tried searching for this but couldn't find anything that helped me understand.
In CodeIgniter's Session table creation query for example, there's a line:
KEY `last_activity_idx` (`last_activity`)
that comes after defining the column 'last_activity'.
What's this for?