Changed io_type to i_o_type in the foreign key definitions of person targets
and account classes.
This commit is contained in:
@@ -32,7 +32,7 @@ class CreatePersonTargetsTable extends Migration
|
|||||||
// receivable. A payable is of type 'expediture' and a receivable is
|
// receivable. A payable is of type 'expediture' and a receivable is
|
||||||
// of type 'income'.
|
// of type 'income'.
|
||||||
$table->integer('io_type')->unsigned();
|
$table->integer('io_type')->unsigned();
|
||||||
$table->foreign('io_type')->references('id')->on('io_types')
|
$table->foreign('io_type')->references('id')->on('i_o_types')
|
||||||
->onDelete('no action');
|
->onDelete('no action');
|
||||||
|
|
||||||
// A reference text which describes the target
|
// A reference text which describes the target
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ class CreateAccountClassesTable extends Migration
|
|||||||
|
|
||||||
// The type of the account class.
|
// The type of the account class.
|
||||||
$table->integer('io_type')->unsigned();
|
$table->integer('io_type')->unsigned();
|
||||||
$table->foreign('io_type')->references('id')->on('io_types')
|
$table->foreign('io_type')->references('id')->on('i_o_types')
|
||||||
->onDelete('no action');
|
->onDelete('no action');
|
||||||
|
|
||||||
// The scope of the account class.
|
// The scope of the account class.
|
||||||
|
|||||||
Reference in New Issue
Block a user