PostgreSQL `numeric` column without explicit precision or scale?
PostgreSQL supports a numeric column that doesn't specify an explicit precision or scale, allowing values of any precision, but it looks as though specifying a migration like the following defaults to using scale of 8 and a precision of 2:
$table->decimal('column_name`);
Is there a way to correctly set a column type of simply numeric?
So you have to define your default values less or equal to the above ones in your decimal declaration. I never tested the maximum, let us know if you do.