wiki.techinc.nl/maintenance/storage/drop_content_model_info.sql
daniel 906a1ba51f [bug 37746] string ids for content model and format.
The content model is stored as a varbinary(32), the format
as varbinary(64).

If the standard model resp. format is used, null is written
to the database instead of the actual id, saving space.

Change-Id: I32659b49a9ad3cb8ecae9019562cff7de42b65f9
2012-06-26 15:56:06 +02:00

7 lines
337 B
SQL

ALTER TABLE /*$wgDBprefix*/archive DROP COLUMN ar_content_model;
ALTER TABLE /*$wgDBprefix*/archive DROP COLUMN ar_content_format;
ALTER TABLE /*$wgDBprefix*/revision DROP COLUMN rev_content_model;
ALTER TABLE /*$wgDBprefix*/revision DROP COLUMN rev_content_format;
ALTER TABLE /*$wgDBprefix*/page DROP COLUMN page_content_model;