mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-12 04:31:32 +00:00
add changeѕ to database tables
This commit is contained in:
parent
19f77a37c8
commit
675648ef20
|
@ -301,7 +301,9 @@ CREATE TABLE `tblDocumentLinks` (
|
||||||
CREATE TABLE `tblDocumentFiles` (
|
CREATE TABLE `tblDocumentFiles` (
|
||||||
`id` int(11) NOT NULL auto_increment,
|
`id` int(11) NOT NULL auto_increment,
|
||||||
`document` int(11) NOT NULL default '0',
|
`document` int(11) NOT NULL default '0',
|
||||||
|
`version` smallint(5) unsigned NOT NULL default '0',
|
||||||
`userID` int(11) NOT NULL default '0',
|
`userID` int(11) NOT NULL default '0',
|
||||||
|
`public` tinyint(1) NOT NULL default '0',
|
||||||
`comment` text,
|
`comment` text,
|
||||||
`name` varchar(150) default NULL,
|
`name` varchar(150) default NULL,
|
||||||
`date` int(12) default NULL,
|
`date` int(12) default NULL,
|
||||||
|
|
|
@ -263,7 +263,9 @@ CREATE TABLE `tblDocumentLinks` (
|
||||||
CREATE TABLE `tblDocumentFiles` (
|
CREATE TABLE `tblDocumentFiles` (
|
||||||
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||||
`document` INTEGER NOT NULL default 0 REFERENCES `tblDocuments` (`id`),
|
`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`),
|
`userID` INTEGER NOT NULL default 0 REFERENCES `tblUsers` (`id`),
|
||||||
|
`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,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user