mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-11-29 10:53:33 +00:00
fix more sql errors
This commit is contained in:
parent
adf4b954f0
commit
5739611595
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user