diff --git a/migration/i1.0a-release/oracle/201303151137_IDEMPIERE-765.sql b/migration/i1.0a-release/oracle/201303151137_IDEMPIERE-765.sql new file mode 100644 index 0000000000..f3b946ee69 --- /dev/null +++ b/migration/i1.0a-release/oracle/201303151137_IDEMPIERE-765.sql @@ -0,0 +1,7 @@ +-- IDEMPIERE-765 Client Name must be non unique / search key must be unique +DROP INDEX ad_client_name; + +CREATE UNIQUE INDEX ad_client_value + ON AD_Client (value); + +SELECT register_migration_script('201303151137_IDEMPIERE-765.sql') FROM dual; diff --git a/migration/i1.0a-release/postgresql/201303151137_IDEMPIERE-765.sql b/migration/i1.0a-release/postgresql/201303151137_IDEMPIERE-765.sql new file mode 100644 index 0000000000..f3b946ee69 --- /dev/null +++ b/migration/i1.0a-release/postgresql/201303151137_IDEMPIERE-765.sql @@ -0,0 +1,7 @@ +-- IDEMPIERE-765 Client Name must be non unique / search key must be unique +DROP INDEX ad_client_name; + +CREATE UNIQUE INDEX ad_client_value + ON AD_Client (value); + +SELECT register_migration_script('201303151137_IDEMPIERE-765.sql') FROM dual;