Add base payrate field for ranks
This commit is contained in:
@@ -18,6 +18,7 @@ class CreateRanksTable extends Migration
|
||||
$table->string('name', 50);
|
||||
$table->string('image_link')->nullable();
|
||||
$table->unsignedInteger('hours')->default(0);
|
||||
$table->unsignedDecimal('base_pay_rate')->nullable()->default(0);
|
||||
$table->boolean('auto_approve_acars')->nullable()->default(false);
|
||||
$table->boolean('auto_approve_manual')->nullable()->default(false);
|
||||
$table->boolean('auto_promote')->nullable()->default(true);
|
||||
|
||||
@@ -75,14 +75,17 @@ ranks:
|
||||
- id: 2
|
||||
name: Junior First Officer
|
||||
hours: 10
|
||||
base_pay_rate: 100
|
||||
- id: 3
|
||||
name: First Officer
|
||||
hours: 15
|
||||
base_pay_rate: 250
|
||||
auto_approve_acars: 1
|
||||
auto_approve_manual: 1
|
||||
- id: 4
|
||||
name: Senior Captain
|
||||
hours: 20
|
||||
base_pay_rate: 500
|
||||
auto_approve_acars: 1
|
||||
auto_approve_manual: 1
|
||||
auto_promote: 0
|
||||
|
||||
Reference in New Issue
Block a user