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,