From 57396115950949fcb3cdfb0be962b5588f8f648b Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Tue, 28 Feb 2017 17:32:35 +0100 Subject: [PATCH] fix more sql errors --- install/update-6.1.0/update-postgres.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;