diff --git a/install/update-6.1.0/update-postgres.sql b/install/update-6.1.0/update-postgres.sql index 6e9ea6e47..7f8319ba6 100644 --- a/install/update-6.1.0/update-postgres.sql +++ b/install/update-6.1.0/update-postgres.sql @@ -3,7 +3,7 @@ START TRANSACTION; CREATE TABLE "tblDownloadLinks" ( "id" SERIAL UNIQUE, "document" INTEGER REFERENCES "tblDocuments" ("id") ON DELETE CASCADE, - "version" INTEGER unsigned NOT NULL default '0', + "version" INTEGER NOT NULL default '0', "userID" INTEGER NOT NULL default '0' REFERENCES "tblUsers" ("id") ON DELETE CASCADE, "hash" varchar(50) default NULL, "valid" TEXT default NULL @@ -31,6 +31,6 @@ CREATE TABLE "tblFolderAttributeDefinitionGroup" ( UNIQUE ("folder", "attrgrp") ); -UPDATE tblVersion set "major"=6, "minor"=1, "subminor"=0; +UPDATE "tblVersion" set "major"=6, "minor"=1, "subminor"=0; COMMIT;