salix/services/db/changes/1.0.0/07-createUnique.sql

3 lines
116 B
SQL

ALTER TABLE `vn2008`.`Articles_nicho`
ADD UNIQUE INDEX `Id_Article_UNIQUE` (`Id_Article` ASC, `warehouse_id` ASC);