summaryrefslogtreecommitdiff
path: root/maintenance/storage/drop_content_model_info.sql
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/storage/drop_content_model_info.sql')
-rw-r--r--maintenance/storage/drop_content_model_info.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/maintenance/storage/drop_content_model_info.sql b/maintenance/storage/drop_content_model_info.sql
new file mode 100644
index 00000000..7bd9aba9
--- /dev/null
+++ b/maintenance/storage/drop_content_model_info.sql
@@ -0,0 +1,7 @@
+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;