Use bool not boolean for 4.0.x compatibility

This commit is contained in:
Tim Starling 2006-07-11 06:56:27 +00:00
parent 1b1e8a498a
commit fa2b003c19
3 changed files with 9 additions and 9 deletions

View file

@ -16,9 +16,9 @@ CREATE TABLE /*$wgDBprefix*/ipblocks_newunique (
ipb_by int(8) unsigned NOT NULL default '0',
ipb_reason tinyblob NOT NULL default '',
ipb_timestamp char(14) binary NOT NULL default '',
ipb_auto boolean NOT NULL default 0,
ipb_anon_only boolean NOT NULL default 0,
ipb_create_account boolean NOT NULL default 1,
ipb_auto bool NOT NULL default 0,
ipb_anon_only bool NOT NULL default 0,
ipb_create_account bool NOT NULL default 1,
ipb_expiry char(14) binary NOT NULL default '',
ipb_range_start tinyblob NOT NULL default '',
ipb_range_end tinyblob NOT NULL default '',

View file

@ -583,13 +583,13 @@ CREATE TABLE /*$wgDBprefix*/ipblocks (
-- Indicates that the IP address was banned because a banned
-- user accessed a page through it. If this is 1, ipb_address
-- will be hidden, and the block identified by block ID number.
ipb_auto boolean NOT NULL default '0',
ipb_auto bool NOT NULL default '0',
-- If set to 1, block applies only to logged-out users
ipb_anon_only boolean NOT NULL default 0,
ipb_anon_only bool NOT NULL default 0,
-- Block prevents account creation from matching IP addresses
ipb_create_account boolean NOT NULL default 1,
ipb_create_account bool NOT NULL default 1,
-- Time at which the block will expire.
ipb_expiry char(14) binary NOT NULL default '',

View file

@ -570,13 +570,13 @@ CREATE TABLE /*$wgDBprefix*/ipblocks (
-- Indicates that the IP address was banned because a banned
-- user accessed a page through it. If this is 1, ipb_address
-- will be hidden, and the block identified by block ID number.
ipb_auto boolean NOT NULL default 0,
ipb_auto bool NOT NULL default 0,
-- If set to 1, block applies only to logged-out users
ipb_anon_only boolean NOT NULL default 0,
ipb_anon_only bool NOT NULL default 0,
-- Block prevents account creation from matching IP addresses
ipb_create_account boolean NOT NULL default 1,
ipb_create_account bool NOT NULL default 1,
-- Time at which the block will expire.
ipb_expiry char(14) binary NOT NULL default '',