From 01425caf53a6e5dc3d1524005852441f18828d3c Mon Sep 17 00:00:00 2001
From: Peter Hormanns <peter.hormanns@hostsharing.net>
Date: Thu, 19 Jul 2012 17:32:54 +0200
Subject: [PATCH] fix errors on email-targets as string-arrays

---
 hsarback/database/database_update.sql |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/hsarback/database/database_update.sql b/hsarback/database/database_update.sql
index 9d462ec..e3d7cd3 100644
--- a/hsarback/database/database_update.sql
+++ b/hsarback/database/database_update.sql
@@ -12,6 +12,8 @@
 ALTER TABLE ONLY domain_option
     ADD CONSTRAINT domain_option_uniq UNIQUE (domain_option_id);
 
+CREATE UNIQUE INDEX ON domain_option ( domain_option_name );
+
 CREATE TABLE domain__domain_option (
 	domain_option_id integer NOT NULL,
 	domain_id integer NOT NULL

--
Gitblit v1.9.3