yiisoft/yii — pull request #2803 by nineinchnick (2013-08-21 21:09:46+00:00)
Title: use the preffered method of creating an unique index in postgresql 

As suggested by the manual. Fixes #788. All tests pass and tested it manually to ensure the syntax is correct.