Added number column to account classes table.
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user