-- Number of users, theoretically equal to SELECT COUNT(*) FROM user;
ss_users bigint default '-1',
+
+ -- Number of users that still edit
+ ss_active_users bigint default '-1',
-- Deprecated, no longer updated as of 1.5
ss_admins int default '-1',
-- Block prevents user from accessing Special:Emailuser
ipb_block_email bool NOT NULL default 0,
+ -- Block allows user to edit their own talk page
+ ipb_allow_usertalk bool NOT NULL default 0,
+
PRIMARY KEY ipb_id (ipb_id),
-- Unique index to support "user already blocked" messages
rc_old_len int,
rc_new_len int,
- -- Visibility of deleted revisions, bitfield
+ -- Visibility of recent changes items, bitfield
rc_deleted tinyint unsigned NOT NULL default '0',
-- Value corresonding to log_id, specific log entries
keyname varbinary(255) NOT NULL default '',
value mediumblob,
exptime datetime,
- UNIQUE KEY (keyname),
+ PRIMARY KEY (keyname),
KEY (exptime)
) /*$wgDBTableOptions*/;
-- goes by.
rd_namespace int NOT NULL default '0',
rd_title varchar(255) binary NOT NULL default '',
- rd_interwiki varchar(32) default NULL,
- rd_fragment varchar(255) binary DEFAULT NULL,
PRIMARY KEY rd_from (rd_from),
KEY rd_ns_title (rd_namespace,rd_title,rd_from)