We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@ORM\Column(type="boolean", nullable=false, options={"default" = false})
it always generates migration becouse of #3355. compared with old version https://3v4l.org/HBLG7 :
<?php $changedProperties = []; $properties1['default'] = false; $properties2['default'] = 0; if ($properties1['default'] != $properties2['default'] || (null === $properties1['default'] && null !== $properties2['default']) || (null === $properties2['default'] && null !== $properties1['default']) ) { $changedProperties[] = 'default'; } var_dump($changedProperties); if (($properties1['default'] === null) !== ($properties2['default'] === null) || (string) $properties1['default'] !== (string) $properties2['default']) { $changedProperties[] = 'default'; } var_dump($changedProperties);
result:
array(0) { } array(1) { [0]=> string(7) "default" }
Originally posted by @svycka in #3355
The text was updated successfully, but these errors were encountered:
Handled in #3382
Sorry, something went wrong.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
morozov
No branches or pull requests
it always generates migration becouse of #3355. compared with old version https://3v4l.org/HBLG7 :
result:
Originally posted by @svycka in #3355
The text was updated successfully, but these errors were encountered: