The only real reason I can think of to support defining a column as unique is if there happen to be databases that do not support constraint definitions but that do support marking a column unique. Terradata specifically comes to mind. We'll have to audit the databases we care about to see.
If we decide to drop support for specifying unique on a column declaration it simplifies some of this logic for sure in that we can always just use unique constraints.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
The only real reason I can think of to support defining a column as unique is if there happen to be databases that do not support constraint definitions but that do support marking a column unique. Terradata specifically comes to mind. We'll have to audit the databases we care about to see.
If we decide to drop support for specifying unique on a column declaration it simplifies some of this logic for sure in that we can always just use unique constraints.