[ Index ] |
PHP Cross Reference of BackPress |
[Summary view] [Print] [Text view]
1 <?php 2 3 return array( 4 5 'terms' => "CREATE TABLE %s ( 6 term_id bigint(20) NOT NULL auto_increment, 7 name varchar(55) NOT NULL default '', 8 slug varchar(200) NOT NULL default '', 9 term_group bigint(10) NOT NULL default 0, 10 PRIMARY KEY (term_id), 11 UNIQUE KEY slug (slug) 12 )", 13 14 'term_taxonomy' => "CREATE TABLE %s ( 15 term_taxonomy_id bigint(20) NOT NULL auto_increment, 16 term_id bigint(20) NOT NULL default 0, 17 taxonomy varchar(32) NOT NULL default '', 18 description longtext NOT NULL, 19 parent bigint(20) NOT NULL default 0, 20 count bigint(20) NOT NULL default 0, 21 PRIMARY KEY (term_taxonomy_id), 22 UNIQUE KEY term_id_taxonomy (term_id,taxonomy) 23 )", 24 25 'term_relationships' => "CREATE TABLE %s ( 26 object_id bigint(20) NOT NULL default 0, 27 term_taxonomy_id bigint(20) NOT NULL default 0, 28 PRIMARY KEY (object_id,term_taxonomy_id), 29 KEY term_taxonomy_id (term_taxonomy_id) 30 )" 31 32 ); 33 34 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sat Nov 23 01:00:54 2024 | Cross-referenced by PHPXref 0.7.1 |