Translate new unique constraint for sqlite >= 3.8.2