Added number column to account classes table.

This commit is contained in:
Lukas Halbritter
2018-09-10 11:59:33 +02:00
parent 7008b54f2c
commit 965d40c178
2 changed files with 3 additions and 0 deletions
Binary file not shown.
@@ -19,6 +19,9 @@ class CreateAccountClassesTable extends Migration
// Name of the account class
$table->string('name');
// Number of the class
$table->smallInteger('number')->unsigned()->unique();
// The type of the account class.
$table->integer('io_type')->unsigned();
$table->foreign('io_type')->references('id')->on('i_o_types')