Shrink decimal field sizes as they're overly large

This commit is contained in:
Nabeel Shahzad
2018-02-20 15:57:31 -06:00
parent 7185f6cedf
commit bac829b425
11 changed files with 37 additions and 36 deletions

View File

@@ -13,6 +13,8 @@ class Flight extends BaseModel
{
use HashId;
public const ID_MAX_LENGTH = 12;
public $table = 'flights';
public $incrementing = false;

View File

@@ -8,7 +8,6 @@ use App\Models\Traits\HashId;
use App\Support\Units\Distance;
use App\Support\Units\Fuel;
use App\Support\Units\Time;
use PhpUnitsOfMeasure\Exception\NonNumericValue;
use PhpUnitsOfMeasure\Exception\NonStringUnitName;
@@ -21,6 +20,8 @@ class Pirep extends BaseModel
{
use HashId;
public const ID_MAX_LENGTH = 12;
public $table = 'pireps';
public $incrementing = false;