diff options
author | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-06-22 18:12:58 +0000 |
---|---|---|
committer | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-06-22 18:12:58 +0000 |
commit | 901b9d2bd5c402e45526e151604afd119c6e0ec1 (patch) | |
tree | 94de1db7561d6cfe82b41cbc803011a2ab932eb0 /upgrades/dbpatches/1.4/postgresql/patch/profiles.sql | |
parent | f4af73c3a3b19f6f850c2eda0717272ca9b24001 (diff) | |
download | zabbix-901b9d2bd5c402e45526e151604afd119c6e0ec1.tar.gz zabbix-901b9d2bd5c402e45526e151604afd119c6e0ec1.tar.xz zabbix-901b9d2bd5c402e45526e151604afd119c6e0ec1.zip |
- fixed PostgreSQL upgrade patch (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@4353 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'upgrades/dbpatches/1.4/postgresql/patch/profiles.sql')
-rw-r--r-- | upgrades/dbpatches/1.4/postgresql/patch/profiles.sql | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/upgrades/dbpatches/1.4/postgresql/patch/profiles.sql b/upgrades/dbpatches/1.4/postgresql/patch/profiles.sql index f56a5c0f..02a1d2b8 100644 --- a/upgrades/dbpatches/1.4/postgresql/patch/profiles.sql +++ b/upgrades/dbpatches/1.4/postgresql/patch/profiles.sql @@ -5,7 +5,7 @@ CREATE TABLE profiles_tmp ( value varchar(255) DEFAULT '' NOT NULL, valuetype integer DEFAULT 0 NOT NULL, PRIMARY KEY (profileid) -); +) with OIDS; CREATE UNIQUE INDEX profiles_1 on profiles_tmp (userid,idx); insert into profiles_tmp select NULL,userid,idx,value,valuetype from profiles; @@ -19,7 +19,7 @@ CREATE TABLE profiles_tmp ( value varchar(255) DEFAULT '' NOT NULL, valuetype integer DEFAULT 0 NOT NULL, PRIMARY KEY (profileid) -); +) with OIDS; CREATE UNIQUE INDEX profiles_1 on profiles_tmp (userid,idx); insert into profiles_tmp select * from profiles; |