Skip to content

Instantly share code, notes, and snippets.

@dbolser
Created July 6, 2011 08:06
Show Gist options
  • Select an option

  • Save dbolser/1066802 to your computer and use it in GitHub Desktop.

Select an option

Save dbolser/1066802 to your computer and use it in GitHub Desktop.
mysql> show create table mb_page\G
*************************** 1. row ***************************
Table: mb_page
Create Table: CREATE TABLE `mb_page` (
`page_id` int(8) unsigned NOT NULL auto_increment,
`page_namespace` int(11) NOT NULL default '0',
`page_title` varchar(255) character set utf8 collate utf8_bin NOT NULL default '',
`page_restrictions` tinyblob NOT NULL,
`page_counter` bigint(20) unsigned NOT NULL default '0',
`page_is_redirect` tinyint(1) unsigned NOT NULL default '0',
`page_is_new` tinyint(1) unsigned NOT NULL default '0',
`page_random` double unsigned NOT NULL default '0',
`page_touched` varchar(14) character set utf8 collate utf8_bin NOT NULL default '',
`page_latest` int(8) unsigned NOT NULL default '0',
`page_len` int(8) unsigned NOT NULL default '0',
PRIMARY KEY (`page_id`),
UNIQUE KEY `name_title` (`page_namespace`,`page_title`),
KEY `page_random` (`page_random`),
KEY `page_len` (`page_len`)
) ENGINE=MyISAM AUTO_INCREMENT=6892 DEFAULT CHARSET=utf8
1 row in set (0.00 sec)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment