mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-12-24 13:23:17 +00:00
ed570661de
* Add primary key to mathtable * Unify naming of database files Bug: 65525 Change-Id: I4f4d31c281257014734e9e3a8d7f1506855ea6d9
19 lines
511 B
SQL
19 lines
511 B
SQL
--
|
|
-- Used by the math module to keep track
|
|
-- of previously-rendered items.
|
|
--
|
|
CREATE TABLE /*_*/mathlatexml (
|
|
-- Binary MD5 hash of math_inputtex, used as an identifier key.
|
|
math_inputhash varbinary(16) NOT NULL PRIMARY KEY,
|
|
-- the user input
|
|
math_inputtex text NOT NULL,
|
|
-- the validated tex
|
|
math_tex text,
|
|
-- MathML output LaTeXML
|
|
math_mathml text,
|
|
-- SVG output mathoid
|
|
math_svg text,
|
|
-- MW_MATHSTYLE_(INLINE_DISPLAYSTYLE|DISPLAY|INLINE)
|
|
math_style tinyint
|
|
) /*$wgDBTableOptions*/;
|