mediawiki-extensions-Math/db/math.db2.sql
Brion Vibber d61409f974 Breaking the 'math' table setup out to Math extension. Should be the last main step in extension-ification of the math options!
The 'math' table will no longer be created on a default install unless you've explicitly enabled the Math plugin at install time; the usual update.php procedure will add it in.

Postgres, Oracle, MSSQL, and DB2 variants are included -- broken out from the core files -- but have not been tested.

I know there has been some code duplication in parser test infrastructure but could only find one instance of the parser test temporary table setup to remove the 'math' table from (the extension adds it back via the hook). If the phpunit-based runner breaks, please track it down and fix it there too.
2011-04-22 21:37:16 +00:00

8 lines
338 B
SQL

CREATE TABLE math (
math_inputhash VARCHAR(16) FOR BIT DATA NOT NULL UNIQUE,
math_outputhash VARCHAR(16) FOR BIT DATA NOT NULL,
math_html_conservativeness SMALLINT NOT NULL,
math_html CLOB(64K) INLINE LENGTH 4096,
math_mathml CLOB(64K) INLINE LENGTH 4096
);