summaryrefslogtreecommitdiff
path: root/maintenance/oracle/archives/patch-ug_group-length-increase-255.sql
blob: 00a5e7b2a00a42d48831730c6b23ed0bab485fb4 (plain)
1
2
3
4
5
6
7
8
9
define mw_prefix='{$wgDBprefix}';

/*$mw$*/
BEGIN
	EXECUTE IMMEDIATE 'ALTER TABLE &mw_prefix.user_groups MODIFY ug_group VARCHAR2(255) NOT NULL';
EXCEPTION WHEN OTHERS THEN
	IF (SQLCODE = -01442) THEN NULL; ELSE RAISE; END IF;
END;
/*$mw$*/