Changed scope column name to scope_id in table account_classes.

This commit is contained in:
Lukas Halbritter
2018-09-10 12:01:19 +02:00
parent 965d40c178
commit 5bdb4bf502
@@ -28,8 +28,8 @@ class CreateAccountClassesTable extends Migration
->onDelete('no action'); ->onDelete('no action');
// The scope of the account class. // The scope of the account class.
$table->integer('scope')->unsigned(); $table->integer('scope_id')->unsigned();
$table->foreign('scope')->references('id')->on('scopes') $table->foreign('scope_id')->references('id')->on('scopes')
->onDelete('no action'); ->onDelete('no action');
$table->timestamps(); $table->timestamps();