Attribute to index a column

Currently we can only specify unique indexes, but it would be useful to specify other sorts of index to allow the database engine to optimise queries.
Multifield, non-unique indexes would also be useful

This feature was implemented.