Update of /cvsroot/openfirst/manual/setup
In directory sc8-pr-cvs1:/tmp/cvs-serv19432/setup
Modified Files:
setup.mysql
Log Message:
Allow multiple documents to have manuals (this should make this module a lot more useful).
Index: setup.mysql
===================================================================
RCS file: /cvsroot/openfirst/manual/setup/setup.mysql,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** setup.mysql 28 Jun 2003 00:38:34 -0000 1.4
--- setup.mysql 12 Aug 2003 21:01:08 -0000 1.5
***************
*** 1,3 ****
--- 1,5 ----
CREATE table ofirst_manual (title TEXT, functionname TEXT, maintainer TEXT, creator TEXT, ID int(6) unsigned NOT NULL auto_increment, chapter int(3), description TEXT, notes TEXT, syntax TEXT, PRIMARY KEY (`ID`));
+ ALTER TABLE ofirst_manual ADD COLUMN document TEXT;
+ UPDATE ofirst_manual SET document='1' WHERE document IS NULL;
INSERT INTO ofirst_config SET modulename='manual',showonmenu='0',active='0',modulenavigation='<a href="$basepath/manual/">View Manual</a>';
|