add columns version and public to tblDocumentFiles

This commit is contained in:
Uwe Steinmann 2017-02-20 15:41:44 +01:00
parent 52deebbf6e
commit ef46f612cb

View File

@ -266,6 +266,8 @@ CREATE TABLE "tblDocumentFiles" (
"id" SERIAL UNIQUE, "id" SERIAL UNIQUE,
"document" INTEGER NOT NULL default 0 REFERENCES "tblDocuments" ("id"), "document" INTEGER NOT NULL default 0 REFERENCES "tblDocuments" ("id"),
"userID" INTEGER NOT NULL default 0 REFERENCES "tblUsers" ("id"), "userID" INTEGER NOT NULL default 0 REFERENCES "tblUsers" ("id"),
"version" INTEGER NOT NULL default '0',
"public" INTEGER NOT NULL default '0',
"comment" text, "comment" text,
"name" varchar(150) default NULL, "name" varchar(150) default NULL,
"date" INTEGER default NULL, "date" INTEGER default NULL,