seeddms-code/install/update-1.8.1/update.sql

34 lines
870 B
MySQL
Raw Normal View History

2011-12-06 12:42:58 +00:00
-- mysql -uroot -ppassword mydms < update.sql
-- this script must be executed when updating form a version < 1.8.1
2022-09-08 15:50:01 +00:00
-- --------------------------------------------------------
--
-- New table for document-related files
2011-12-06 12:42:58 +00:00
--
2022-09-08 15:50:01 +00:00
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`)
) Engine=MyISAM ;
-- --------------------------------------------------------
2011-12-06 12:42:58 +00:00
--
2022-09-08 15:50:01 +00:00
-- Not longer required by new filesystem structure
--
DROP TABLE `tblDirPath`;
DROP TABLE `tblPathList`;
2011-12-06 12:42:58 +00:00