Manual:User former groups table

The user_former_groups table stores the groups the user has once belonged to (will not contain groups the user had belonged to before MW 1.17).

The user may again belong to these groups; check the table , if you want to know.

This is used to keep MediaWiki from man>Special:MyLanguage/Manual:$wgAutopromote|automatically adding users to groups from which he has been manually removed before. The table was added in .

ufg_user
Key to .

ufg_group
Name of the man>Special:MyLanguage/Manual:user_groups table#ug_group|group, which the user was member of.

Schema summary
DESCRIBE user_former_groups; +---+--+--+-+-+---+ +---+--+--+-+-+---+ +---+--+--+-+-+---+
 * Field    | Type             | Null | Key | Default | Extra |
 * ufg_user | int(10) unsigned | NO   | PRI | 0       |       |
 * ufg_group | varbinary(255)  | NO   | PRI | NULL    |       |

DESCRIBE user_former_groups; +---+--+--+-+-+---+ +---+--+--+-+-+---+ +---+--+--+-+-+---+
 * Field    | Type             | Null | Key | Default | Extra |
 * ufg_user | int(10) unsigned | NO   | PRI | 0       |       |
 * ufg_group | varbinary(32)   | NO   | PRI | NULL    |       |

DESCRIBE user_former_groups; +---+--+--+-+-+---+ +---+--+--+-+-+---+ +---+--+--+-+-+---+
 * Field    | Type             | Null | Key | Default | Extra |
 * ufg_user | int(10) unsigned | NO   | PRI | 0       |       |
 * ufg_group | varbinary(16)   | NO   | PRI | NULL    |       |