From 61091e41fa66ab889afd32c968bfecfc397c85d1 Mon Sep 17 00:00:00 2001 From: redchris Date: Wed, 13 May 2009 12:03:45 +0000 Subject: [PATCH] FR [ 2791026 ] - ADD unique index on HR_Job, HR_Department, HR_Contract https://sourceforge.net/tracker/index.php?func=detail&aid=2791026&group_id=176962&atid=934929 --- .../postgresql/466_FR2791026_AddUniqueIndex.sql | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/migration/353a-trunk/postgresql/466_FR2791026_AddUniqueIndex.sql b/migration/353a-trunk/postgresql/466_FR2791026_AddUniqueIndex.sql index af3b9497d9..92680a72f6 100644 --- a/migration/353a-trunk/postgresql/466_FR2791026_AddUniqueIndex.sql +++ b/migration/353a-trunk/postgresql/466_FR2791026_AddUniqueIndex.sql @@ -1 +1,9 @@ --- TODO \ No newline at end of file +CREATE UNIQUE INDEX HR_Job_Value + ON HR_Job (AD_CLient_ID, Value); + +CREATE UNIQUE INDEX HR_Department_Value + ON HR_Department (AD_CLient_ID, Value); + +CREATE UNIQUE INDEX HR_Contract_Value + ON HR_Contract (AD_CLient_ID, Value); + \ No newline at end of file