From 5bdb4bf50217430c196d054d03eb0f9e0086d413 Mon Sep 17 00:00:00 2001 From: Lukas Halbritter Date: Mon, 10 Sep 2018 12:01:19 +0200 Subject: [PATCH] Changed scope column name to scope_id in table account_classes. --- .../2018_09_07_090452_create_account_classes_table.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/migrations/2018_09_07_090452_create_account_classes_table.php b/database/migrations/2018_09_07_090452_create_account_classes_table.php index 0af1024..383f9f1 100644 --- a/database/migrations/2018_09_07_090452_create_account_classes_table.php +++ b/database/migrations/2018_09_07_090452_create_account_classes_table.php @@ -28,8 +28,8 @@ class CreateAccountClassesTable extends Migration ->onDelete('no action'); // The scope of the account class. - $table->integer('scope')->unsigned(); - $table->foreign('scope')->references('id')->on('scopes') + $table->integer('scope_id')->unsigned(); + $table->foreign('scope_id')->references('id')->on('scopes') ->onDelete('no action'); $table->timestamps();