I have a field with type decimal and decimal set to 3.
before update:
$table->decimal('weight', 8, 3)->nullable(true)->after('value')->change();
after update:
$table->decimal('weight', 3)->nullable(true)->after('value')->change();
error:
Numeric value out of range: 1264 Out of range value for column 'weight' at row 300 (SQL: ALTER TABLE amounts CHANGE weight weight NUMERIC(3, 2) DEFAULT NULL)