Adding UNIQUE constraint to entryid column in database ddls