Add UNIQUE constraint to column code in table assets