Added number column to account classes table.
This commit is contained in:
Binary file not shown.
@@ -19,6 +19,9 @@ class CreateAccountClassesTable extends Migration
|
|||||||
// Name of the account class
|
// Name of the account class
|
||||||
$table->string('name');
|
$table->string('name');
|
||||||
|
|
||||||
|
// Number of the class
|
||||||
|
$table->smallInteger('number')->unsigned()->unique();
|
||||||
|
|
||||||
// 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('i_o_types')
|
$table->foreign('io_type')->references('id')->on('i_o_types')
|
||||||
|
|||||||
Reference in New Issue
Block a user