Pivot column should be nullable.
The add_pivot_column_to_ledgers_table migration should have the pivot field be nullable otherwise PHPUnit will fail.
The add_pivot_column_to_ledgers_table migration should have the pivot field be nullable otherwise PHPUnit will fail.