mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
34 lines
880 B
SQL
34 lines
880 B
SQL
-- mysql -uroot -ppassword mydms < update.sql
|
|
-- this script must be executed when updating form a version < 1.8.1
|
|
|
|
-- --------------------------------------------------------
|
|
|
|
--
|
|
-- New table for document-related files
|
|
--
|
|
|
|
CREATE TABLE `tblDocumentFiles` (
|
|
`id` int(11) NOT NULL auto_increment,
|
|
`document` int(11) NOT NULL default '0',
|
|
`userID` int(11) NOT NULL default '0',
|
|
`comment` text,
|
|
`name` varchar(150) default NULL,
|
|
`date` int(12) default NULL,
|
|
`dir` varchar(255) NOT NULL default '',
|
|
`orgFileName` varchar(150) NOT NULL default '',
|
|
`fileType` varchar(10) NOT NULL default '',
|
|
`mimeType` varchar(70) NOT NULL default '',
|
|
PRIMARY KEY (`id`)
|
|
) ;
|
|
|
|
-- --------------------------------------------------------
|
|
|
|
--
|
|
-- Not longer required by new filesystem structure
|
|
--
|
|
|
|
DROP TABLE `tblDirPath`;
|
|
DROP TABLE `tblPathList`;
|
|
|
|
|