fixing catch syntax and removing unique index so that upgrade on openacs.org runs without problems (probably other db's out there have the same issue).