wiki.techinc.nl/maintenance/archives/patch-user_groups-ug_expiry.sql
This, that and the other ae8916eef9 Don't try to drop ug_user_group index if it doesn't exist
This is needed for MySQL only.

Bug: T156901
Change-Id: I351fa1b7ce5a9b1c7b19ecb7d26d8a1f699d88f8
2017-02-02 01:57:09 +11:00

5 lines
173 B
SQL

-- Add expiry column in user_groups table
ALTER TABLE /*$wgDBprefix*/user_groups
ADD COLUMN ug_expiry varbinary(14) NULL default NULL,
ADD INDEX ug_expiry (ug_expiry);