summaryrefslogtreecommitdiff
path: root/maintenance/archives/patch-fa_sha1.sql
blob: 931bc44de8d423488991e501abd97e85d0e919df (plain)
1
2
3
4
-- Add fa_sha1 and related index
ALTER TABLE /*$wgDBprefix*/filearchive
  ADD COLUMN fa_sha1 varbinary(32) NOT NULL default '';
CREATE INDEX /*i*/fa_sha1 ON /*$wgDBprefix*/filearchive (fa_sha1(10));