CREATE TABLE
wp_linkcategories
(
cat_id
int(11) NOT NULL auto_increment,
cat_name
tinytext NOT NULL,
auto_toggle
enum('Y','N') NOT NULL default 'N',
show_images
enum('Y','N') NOT NULL default 'Y',
show_description
enum('Y','N') NOT NULL default 'N',
show_rating
enum('Y','N') NOT NULL default 'Y',
show_updated
enum('Y','N') NOT NULL default 'Y',
sort_order
varchar(64) NOT NULL default 'name',
sort_desc
enum('Y','N') NOT NULL default 'N',
text_before_link
varchar(128) NOT NULL default '
- ',
text_after_link
varchar(128) NOT NULL default '
',
text_after_all
varchar(128) NOT NULL default '
',
list_limit
int(11) NOT NULL default '-1',
PRIMARY KEY (cat_id
)
) TYPE=MyISAM;
and
CREATE TABLE
wp_links
(
link_id
int(11) NOT NULL auto_increment,
link_url
varchar(255) NOT NULL default '',
link_name
varchar(255) NOT NULL default '',
link_image
varchar(255) NOT NULL default '',
link_target
varchar(25) NOT NULL default '',
link_category
int(11) NOT NULL default '0',
link_description
varchar(255) NOT NULL default '',
link_visible
enum('Y','N') NOT NULL default 'Y',
link_owner
int(11) NOT NULL default '1',
link_rating
int(11) NOT NULL default '0',
link_updated
datetime NOT NULL default '0000-00-00 00:00:00',
link_rel
varchar(255) NOT NULL default '',
link_notes
mediumtext NOT NULL,
link_rss
varchar(255) NOT NULL default '',
PRIMARY KEY (link_id
),
KEY link_category
(link_category
),
KEY link_visible
(link_visible
)
) TYPE=MyISAM;
ought to do you.