Index: branches/wmf/1.18wmf1/extensions/CentralNotice/patches/patch-template_autolink.sql |
— | — | @@ -0,0 +1,11 @@ |
| 2 | +-- Update to add a separate flag for automatic link creation |
| 3 | + |
| 4 | +-- Store a flag indicating whether or not this banner uses automatic link creation |
| 5 | +ALTER TABLE /*$wgDBprefix*/cn_templates ADD `tmp_autolink` bool NOT NULL DEFAULT 0 AFTER `tmp_fundraising`; |
| 6 | + |
| 7 | +-- Store before and after flag values for logging |
| 8 | +ALTER TABLE /*$wgDBprefix*/cn_template_log ADD `tmplog_begin_autolink` bool NULL DEFAULT NULL AFTER `tmplog_end_fundraising`; |
| 9 | +ALTER TABLE /*$wgDBprefix*/cn_template_log ADD `tmplog_end_autolink` bool NULL DEFAULT NULL AFTER `tmplog_begin_autolink`; |
| 10 | + |
| 11 | +-- Add an index for banner names since we sometimes use them for selection |
| 12 | +CREATE INDEX /*i*/tmp_name ON /*$wgDBprefix*/cn_templates (tmp_name); |
Property changes on: branches/wmf/1.18wmf1/extensions/CentralNotice/patches/patch-template_autolink.sql |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 13 | + native |