Closed msmakouz closed 7 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
bbdb864
) 95.10% compared to head (52d2745
) 95.10%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
What was changed
This PR adds default size values to the mapping. The same value as the default value in the methods: https://github.com/cycle/database/blob/2.x/src/Schema/AbstractColumn.php#L574 https://github.com/cycle/database/blob/2.x/src/Driver/MySQL/Schema/MySQLColumn.php#L329
Why?
Without this change, the size is not set when creating a column by calling the
type
method: https://github.com/cycle/database/blob/2.x/src/Schema/AbstractColumn.php#L477