diff --git a/migration/352a-trunk/323_MFreightCategory_Unique.sql b/migration/352a-trunk/323_MFreightCategory_Unique.sql new file mode 100644 index 0000000000..5febe87036 --- /dev/null +++ b/migration/352a-trunk/323_MFreightCategory_Unique.sql @@ -0,0 +1,3 @@ +-- Make combination of AD_Client_ID and Value unique! +ALTER TABLE M_FreightCategory + ADD Constraint M_FreightCat_Value UNIQUE(AD_Client_ID, Value) \ No newline at end of file diff --git a/migration/352a-trunk/postgresql/323_MFreightCategory_Unique.sql b/migration/352a-trunk/postgresql/323_MFreightCategory_Unique.sql new file mode 100644 index 0000000000..5febe87036 --- /dev/null +++ b/migration/352a-trunk/postgresql/323_MFreightCategory_Unique.sql @@ -0,0 +1,3 @@ +-- Make combination of AD_Client_ID and Value unique! +ALTER TABLE M_FreightCategory + ADD Constraint M_FreightCat_Value UNIQUE(AD_Client_ID, Value) \ No newline at end of file