Skip to content

Commit

Permalink
t
Browse files Browse the repository at this point in the history
  • Loading branch information
wangta69 committed Aug 28, 2024
1 parent 0aac33f commit 8969c01
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,15 @@ public function up()
*/
public function down()
{
Schema::table('articles_files', function($table) {
Schema::table('bbs_categories', function($table) {
$table->dropForeign('bbs_categories_bbs_table_id_foreign');
});

Schema::table('bbs_comments', function($table) {
$table->dropForeign('bbs_comments_bbs_articles_id_foreign');
});

Schema::table('bbs_files', function($table) {
$table->dropForeign('bbs_files_bbs_articles_id_foreign');
});

Expand Down

0 comments on commit 8969c01

Please sign in to comment.