Changed io_type to i_o_type in the foreign key definitions of person targets

and account classes.
This commit is contained in:
Lukas Halbritter
2018-09-09 11:55:56 +02:00
parent a4e4025cd4
commit dd184c227f
2 changed files with 2 additions and 2 deletions
@@ -32,7 +32,7 @@ class CreatePersonTargetsTable extends Migration
// receivable. A payable is of type 'expediture' and a receivable is
// of type 'income'.
$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');
// A reference text which describes the target
@@ -21,7 +21,7 @@ class CreateAccountClassesTable extends Migration
// The type of the account class.
$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');
// The scope of the account class.