summaryrefslogtreecommitdiff
path: root/maintenance/archives/patch-rename-user_groups-and_rights.sql
blob: 978b31f7ad926f135f228b952ebbc6a7b65dc0ac (plain)
1
2
3
4
5
6
7
8
9

ALTER TABLE /*$wgDBprefix*/user_groups
	CHANGE user_id ug_user INT UNSIGNED NOT NULL DEFAULT '0',
	CHANGE group_id ug_group INT UNSIGNED NOT NULL DEFAULT '0';

ALTER TABLE /*$wgDBprefix*/user_rights
	CHANGE user_id ur_user INT UNSIGNED NOT NULL,
	CHANGE user_rights ur_rights TINYBLOB NOT NULL;