mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-11-29 19:03:34 +00:00
fix more sql errors
This commit is contained in:
parent
adf4b954f0
commit
5739611595
|
|
@ -3,7 +3,7 @@ START TRANSACTION;
|
||||||
CREATE TABLE "tblDownloadLinks" (
|
CREATE TABLE "tblDownloadLinks" (
|
||||||
"id" SERIAL UNIQUE,
|
"id" SERIAL UNIQUE,
|
||||||
"document" INTEGER REFERENCES "tblDocuments" ("id") ON DELETE CASCADE,
|
"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,
|
"userID" INTEGER NOT NULL default '0' REFERENCES "tblUsers" ("id") ON DELETE CASCADE,
|
||||||
"hash" varchar(50) default NULL,
|
"hash" varchar(50) default NULL,
|
||||||
"valid" TEXT default NULL
|
"valid" TEXT default NULL
|
||||||
|
|
@ -31,6 +31,6 @@ CREATE TABLE "tblFolderAttributeDefinitionGroup" (
|
||||||
UNIQUE ("folder", "attrgrp")
|
UNIQUE ("folder", "attrgrp")
|
||||||
);
|
);
|
||||||
|
|
||||||
UPDATE tblVersion set "major"=6, "minor"=1, "subminor"=0;
|
UPDATE "tblVersion" set "major"=6, "minor"=1, "subminor"=0;
|
||||||
|
|
||||||
COMMIT;
|
COMMIT;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user