Support ordering for term relationships. Props andy. fixes #5857

git-svn-id: https://develop.svn.wordpress.org/trunk@6851 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-02-14 17:17:57 +00:00
parent d89540a6b7
commit a47c497cb7
3 changed files with 16 additions and 1 deletions

View File

@@ -31,6 +31,7 @@ CREATE TABLE $wpdb->term_taxonomy (
CREATE TABLE $wpdb->term_relationships (
object_id bigint(20) NOT NULL default 0,
term_taxonomy_id bigint(20) NOT NULL default 0,
term_order int(11) NOT NULL default 0,
PRIMARY KEY (object_id,term_taxonomy_id),
KEY term_taxonomy_id (term_taxonomy_id)
) $charset_collate;