science-ation/db/db.update.13.sql
james 36bee33066 Add a configuration option to specify the maximum number of words in the project summary (Default=100)
Add some fancy-smansy javascript/dhtml word-counter code to the project summary.
Make project status be incomplete if word count is too high
2006-01-24 15:44:08 +00:00

4 lines
480 B
SQL

INSERT INTO `config` ( `var` , `val` , `description` , `year` ) VALUES ( 'participant_project_summary_wordmax', '100', 'The maximum number of words acceptable in the project summary', '-1');
INSERT INTO `config` ( `var` , `val` , `description` , `year` ) VALUES ( 'participant_project_summary_wordmax', '100', 'The maximum number of words acceptable in the project summary', '2006');
ALTER TABLE `projects` ADD `summarycountok` TINYINT( 1 ) DEFAULT '1' NOT NULL AFTER `summary` ;