salix/db/versions/10815-brownGalax/00-firstScript.sql

3 lines
194 B
SQL

-- Place your SQL code here
ALTER TABLE vn.comparative DROP KEY comparative_UN;
ALTER TABLE vn.comparative ADD CONSTRAINT comparative_unique UNIQUE KEY (timePeriod,itemFk,warehouseFk,countryFk);