Fixed the tests.

This commit is contained in:
James Cole
2014-12-19 21:36:53 +01:00
parent 1a0cbbdb31
commit 8b901084fe
4 changed files with 17 additions and 16 deletions

View File

@@ -380,7 +380,7 @@ class ChangesForV321 extends Migration
{
Schema::table(
'budget_limits', function (Blueprint $table) {
$table->integer('budget_id')->unsigned()->after('updated_at');
$table->integer('budget_id', false, true)->nullable()->after('updated_at');
$table->foreign('budget_id', 'bid_foreign')->references('id')->on('budgets')->onDelete('cascade');
}
);