From ae54d129137fe89ca529d80e9d64ad69d1efbe80 Mon Sep 17 00:00:00 2001 From: jsatoh Date: Sun, 8 Jul 2012 14:34:50 +0000 Subject: [PATCH] 2012-07-08 Junichi Satoh * extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql, pandoradb.postgreSQL.sql: Fixed SQL error with version 8.x of PostgreSQL. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6752 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 6 ++++++ .../extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql | 2 +- pandora_console/pandoradb.postgreSQL.sql | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index dc4610fb05..d7b00bebb0 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2012-07-08 Junichi Satoh + + * extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql, + pandoradb.postgreSQL.sql: Fixed SQL error with version 8.x of + PostgreSQL. + 2012-07-08 Junichi Satoh * extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql, diff --git a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql index d4bfaa149c..0b9cbc1727 100644 --- a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql +++ b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql @@ -245,7 +245,7 @@ INSERT INTO "tconfig" ("token", "value") VALUES -- ----------------------------------------------------- -- Table `tpassword_history` -- ----------------------------------------------------- -CREATE TABLE IF NOT EXISTS "tpassword_history" ( +CREATE TABLE "tpassword_history" ( "id_pass" INTEGER NOT NULL PRIMARY KEY, "id_user" varchar(60) NOT NULL, "password" varchar(45) default NULL, diff --git a/pandora_console/pandoradb.postgreSQL.sql b/pandora_console/pandoradb.postgreSQL.sql index d02f355dd3..dd38635023 100644 --- a/pandora_console/pandoradb.postgreSQL.sql +++ b/pandora_console/pandoradb.postgreSQL.sql @@ -1320,7 +1320,7 @@ CREATE TABLE "ttimezone" ( -- ----------------------------------------------------- -- Table `tpassword_history` -- ----------------------------------------------------- -CREATE TABLE IF NOT EXISTS "tpassword_history" ( +CREATE TABLE "tpassword_history" ( "id_pass" INTEGER NOT NULL PRIMARY KEY, "id_user" varchar(60) NOT NULL, "password" varchar(45) default NULL,