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');
|
->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();
|
||||||
|
|||||||
Reference in New Issue
Block a user