Should I specify both INDEX and UNIQUE INDEX?
If you have a UNIQUE INDEX then you don’t also need the INDEX – it would be redundant. A UNIQUE INDEX is both a unique constraint and an index that can be used like any other index. From the documentation: Note: The preferred way to add a unique constraint to a table is ALTER TABLE … Read more