summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2011-07-19 16:46:27 -0400
committerspiderr <spider@viovio.com>2011-07-19 16:46:27 -0400
commitc7248e1be31edf16a7c0dc3395cbd0e72965ee67 (patch)
tree02cc1f0599eb39480908ce988b7e887343e99afc
parent5512b2fcf8d001540dd27bbeac8f4e0f6d0d6daf (diff)
downloadboards-c7248e1be31edf16a7c0dc3395cbd0e72965ee67.tar.gz
boards-c7248e1be31edf16a7c0dc3395cbd0e72965ee67.tar.bz2
boards-c7248e1be31edf16a7c0dc3395cbd0e72965ee67.zip
CONSTRAINTs-typo
-rw-r--r--admin/schema_inc.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/admin/schema_inc.php b/admin/schema_inc.php
index d1b3edd..ec05524 100644
--- a/admin/schema_inc.php
+++ b/admin/schema_inc.php
@@ -6,7 +6,7 @@ $tables = array(
is_warned I1 NOTNULL DEFAULT(0),
warned_message X,
migrate_post_id INT
- CONSTRAINT ', CONSTRAINT `boards_posts_comment_ref` FOREIGN KEY (`comment_id`) REFERENCES `".BIT_DB_PREFIX."liberty_comments` (`comment_id`)'
+ CONSTRAINTS ', CONSTRAINT `boards_posts_comment_ref` FOREIGN KEY (`comment_id`) REFERENCES `".BIT_DB_PREFIX."liberty_comments` (`comment_id`)'
",
'boards_topics' => "
parent_id I4 PRIMARY,
@@ -14,7 +14,7 @@ $tables = array(
is_moved I4 NOTNULL DEFAULT(0),
is_sticky I1 NOTNULL DEFAULT(0),
migrate_topic_id INT
- CONSTRAINT ', CONSTRAINT `boards_topics_parent_ref` FOREIGN KEY (`parent_id`) REFERENCES `".BIT_DB_PREFIX."liberty_content` (`content_id`)'
+ CONSTRAINTS ', CONSTRAINT `boards_topics_parent_ref` FOREIGN KEY (`parent_id`) REFERENCES `".BIT_DB_PREFIX."liberty_content` (`content_id`)'
",
'boards_sections' => "
section_id I4 PRIMARY,
@@ -26,13 +26,13 @@ $tables = array(
section_id I4,
pos I4,
migrate_board_id INT
- CONSTRAINT ', CONSTRAINT `boards_content_ref` FOREIGN KEY (`content_id`) REFERENCES `".BIT_DB_PREFIX."liberty_content` (`content_id`)
+ CONSTRAINTS ', CONSTRAINT `boards_content_ref` FOREIGN KEY (`content_id`) REFERENCES `".BIT_DB_PREFIX."liberty_content` (`content_id`)
, CONSTRAINT `boards_section_ref` FOREIGN KEY (`section_id`) REFERENCES `".BIT_DB_PREFIX."boards_sections` (`section_id`)'
",
'boards_map' => "
board_content_id I4 NOTNULL,
topic_content_id I4 PRIMARY
- CONSTRAINT ', CONSTRAINT `boards_topics_boards_ref` FOREIGN KEY (`board_content_id`) REFERENCES `".BIT_DB_PREFIX."liberty_content` (`content_id`)
+ CONSTRAINTS ', CONSTRAINT `boards_topics_boards_ref` FOREIGN KEY (`board_content_id`) REFERENCES `".BIT_DB_PREFIX."liberty_content` (`content_id`)
, CONSTRAINT `boards_topics_related_ref` FOREIGN KEY (`topic_content_id`) REFERENCES `".BIT_DB_PREFIX."liberty_content` (`content_id`)'
",
'boards_tracking' => "