From 0fbe2781f4bf296832fea8afa15b5f4c545aea56 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Sun, 17 Mar 2013 15:33:47 -0500 Subject: [PATCH] IDEMPIERE-752 AD_SysConfig must have a unique key by client+org+name / based on patch from Richard Morales --- .../i1.0a-release/oracle/201303151018_IDEMPIERE-752.sql | 6 ++++++ .../i1.0a-release/postgresql/201303151018_IDEMPIERE-752.sql | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 migration/i1.0a-release/oracle/201303151018_IDEMPIERE-752.sql create mode 100644 migration/i1.0a-release/postgresql/201303151018_IDEMPIERE-752.sql diff --git a/migration/i1.0a-release/oracle/201303151018_IDEMPIERE-752.sql b/migration/i1.0a-release/oracle/201303151018_IDEMPIERE-752.sql new file mode 100644 index 0000000000..620de5d156 --- /dev/null +++ b/migration/i1.0a-release/oracle/201303151018_IDEMPIERE-752.sql @@ -0,0 +1,6 @@ +CREATE UNIQUE INDEX ad_sysconfig_org_name + ON AD_SysConfig (ad_client_id, ad_org_id,name) +; + +SELECT register_migration_script('201303151018_IDEMPIERE-752.sql') FROM dual +; diff --git a/migration/i1.0a-release/postgresql/201303151018_IDEMPIERE-752.sql b/migration/i1.0a-release/postgresql/201303151018_IDEMPIERE-752.sql new file mode 100644 index 0000000000..620de5d156 --- /dev/null +++ b/migration/i1.0a-release/postgresql/201303151018_IDEMPIERE-752.sql @@ -0,0 +1,6 @@ +CREATE UNIQUE INDEX ad_sysconfig_org_name + ON AD_SysConfig (ad_client_id, ad_org_id,name) +; + +SELECT register_migration_script('201303151018_IDEMPIERE-752.sql') FROM dual +;