Changed scope column name to scope_id in table account_classes.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user