diff options
| author | Christian Fowler <spider@viovio.com> | 2012-03-06 16:25:29 -0500 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2012-03-06 16:25:29 -0500 |
| commit | 3db3d2da9b8fe79ed622f29cf783b7309e3102e7 (patch) | |
| tree | a1a5a39fbb611951c7f21258be9487bd83e96b8d /admin | |
| parent | 5e3760e561d1bb71d4ca1ab08f77b283c21d7932 (diff) | |
| download | boards-3db3d2da9b8fe79ed622f29cf783b7309e3102e7.tar.gz boards-3db3d2da9b8fe79ed622f29cf783b7309e3102e7.tar.bz2 boards-3db3d2da9b8fe79ed622f29cf783b7309e3102e7.zip | |
change_CONSTRAINTS_to_CONSTRAINT
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/schema_inc.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/admin/schema_inc.php b/admin/schema_inc.php index ec05524..d1b3edd 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 - CONSTRAINTS ', CONSTRAINT `boards_posts_comment_ref` FOREIGN KEY (`comment_id`) REFERENCES `".BIT_DB_PREFIX."liberty_comments` (`comment_id`)' + CONSTRAINT ', 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 - CONSTRAINTS ', CONSTRAINT `boards_topics_parent_ref` FOREIGN KEY (`parent_id`) REFERENCES `".BIT_DB_PREFIX."liberty_content` (`content_id`)' + CONSTRAINT ', 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 - CONSTRAINTS ', CONSTRAINT `boards_content_ref` FOREIGN KEY (`content_id`) REFERENCES `".BIT_DB_PREFIX."liberty_content` (`content_id`) + CONSTRAINT ', 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 - CONSTRAINTS ', CONSTRAINT `boards_topics_boards_ref` FOREIGN KEY (`board_content_id`) REFERENCES `".BIT_DB_PREFIX."liberty_content` (`content_id`) + CONSTRAINT ', 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' => " |
