doctrine / migrations

Doctrine Database Migrations Library
https://www.doctrine-project.org/projects/migrations.html
MIT License
4.65k stars 386 forks source link

Fix formatParameter() for boolean #1377

Closed jderusse closed 7 months ago

jderusse commented 8 months ago
Q A
Type bug
BC Break yes
Fixed issues n/a

Summary

This PR fixes BC break when formatting a boolean parameters (and type is not defined)

        $this->addSql('INSERT INTO XXX (..., is_bar) VALUES (..., :is_bar)', [
            'is_bar' => true,
        ]);
jderusse commented 7 months ago

friendly reminder

derrabus commented 7 months ago

Thank you!