Hi. How can I add indexes to my tables? I want none unique KEYs to my MySql tables for better optimisation and I'd like to implement indexes as specified for Sequelize:
http://docs.sequelizejs.com/manual/tutorial/models-definition.html#indexes
Thanks
Ah, I figured it out:
@Table({
indexes: [{
unique: false,
fields: ['blahId']
}]
})
Most helpful comment
Ah, I figured it out:
@Table({
indexes: [{
unique: false,
fields: ['blahId']
}]
})