Initial revision
[lhc/web/wiklou.git] / maintenance / archives / patch-math.sql
1 -- Creates table math used for caching TeX blocks. Needs to be run
2 -- on old installations when adding TeX support (2002-12-26)
3 -- Or, TeX can be disabled via $wgUseTeX=false in LocalSettings.php
4
5 -- Note: math table has changed, and this script needs to be run again
6 -- to create it. (2003-02-02)
7
8 DROP TABLE IF EXISTS math;
9 CREATE TABLE math (
10 math_inputhash varchar(16) NOT NULL,
11 math_outputhash varchar(16) NOT NULL,
12 math_html_conservativeness tinyint(1) NOT NULL,
13 math_html text,
14 math_mathml text,
15 UNIQUE KEY math_inputhash (math_inputhash)
16 );