Split down patch-comment-table.sql
[lhc/web/wiklou.git] / maintenance / archives / patch-rev_text_id-default.sql
1 --
2 -- Adds a default value to the rev_text_id field in the revision table.
3 -- This is to allow the Multi Content Revisions migration to happen where
4 -- rows will have to be added to the revision table with no rev_text_id.
5 --
6 -- 2018-03-12
7 --
8
9 ALTER TABLE /*$wgDBprefix*/revision
10 ALTER COLUMN rev_text_id SET DEFAULT 0;