add changeѕ to database tables

This commit is contained in:
Uwe Steinmann 2016-12-08 17:20:44 +01:00
parent 19f77a37c8
commit 675648ef20
2 changed files with 4 additions and 0 deletions

View File

@ -301,7 +301,9 @@ CREATE TABLE `tblDocumentLinks` (
CREATE TABLE `tblDocumentFiles` (
`id` int(11) NOT NULL auto_increment,
`document` int(11) NOT NULL default '0',
`version` smallint(5) unsigned NOT NULL default '0',
`userID` int(11) NOT NULL default '0',
`public` tinyint(1) NOT NULL default '0',
`comment` text,
`name` varchar(150) default NULL,
`date` int(12) default NULL,

View File

@ -263,7 +263,9 @@ CREATE TABLE `tblDocumentLinks` (
CREATE TABLE `tblDocumentFiles` (
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
`document` INTEGER NOT NULL default 0 REFERENCES `tblDocuments` (`id`),
`version` INTEGER unsigned NOT NULL default '0',
`userID` INTEGER NOT NULL default 0 REFERENCES `tblUsers` (`id`),
`public` INTEGER NOT NULL default '0',
`comment` text,
`name` varchar(150) default NULL,
`date` INTEGER default NULL,