Skip to content

Commit

Permalink
Fix an error when deleting a GitHub webhook user
Browse files Browse the repository at this point in the history
  • Loading branch information
ngmy committed May 16, 2017
1 parent 4f36686 commit e39e110
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ public function up()
->on('servers');
$table->foreign('github_webhook_user_id')
->references('id')
->on('users');
->on('users')
->onDelete('set null');
});
}

Expand Down

0 comments on commit e39e110

Please sign in to comment.