Manual:Ipblocks restrictions table

The ipblocks_restrictions table stores restrictions related to.

ir_ipb_id
The  of the block this restriction relates to.

ir_type
The Type of the Block.


 * 1 = Page
 * 2 = Namespace

ir_value
The value of the block restriction. For pages this is a  for Namespaces, this is a namespace id found in config.

Schema summary
+---+--+--+-+-+---+ +---+--+--+-+-+---+ +---+--+--+-+-+---+
 * Field    | Type             | Null | Key | Default | Extra |
 * ir_ipb_id | int(11)         | NO   | PRI | NULL    |       |
 * ir_type  | tinyint(4)       | NO   | PRI | NULL    |       |
 * ir_value | int(10) unsigned | NO   | PRI | NULL    |       |

+---++--+-+-+---+ +---++--+-+-+---+ +---++--+-+-+---+
 * Field    | Type       | Null | Key | Default | Extra |
 * ir_ipb_id | int(11)   | NO   | PRI | NULL    |       |
 * ir_type  | tinyint(4) | NO   | PRI | NULL    |       |
 * ir_value | int(11)    | NO   | PRI | NULL    |       |

+---++--+-+-+---+ +---++--+-+-+---+ +---++--+-+-+---+
 * Field    | Type       | Null | Key | Default | Extra |
 * ir_ipb_id | int(11)   | NO   | PRI | NULL    |       |
 * ir_type  | tinyint(1) | NO   | PRI | NULL    |       |
 * ir_value | int(11)    | NO   | PRI | NULL    |       |