Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Migrations] Remove invalid NOT NULL usage#13388

Merged
AdamKasp merged 1 commit into
Sylius:masterfrom
Zales0123:remove-invalid-not-null-usage
Dec 14, 2021
Merged

[Migrations] Remove invalid NOT NULL usage#13388
AdamKasp merged 1 commit into
Sylius:masterfrom
Zales0123:remove-invalid-not-null-usage

Conversation

@Zales0123
Copy link
Copy Markdown
Contributor

Q A
Branch? master
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Related tickets
License MIT

As far as I see, this NOT NULL is not needed at all when the default value is 0. Additionally, when changing from Sylius 1.10 to dev-master (or rather - upcoming 1.11), it results in exception while migrations are applied:

Zrzut ekranu 2021-12-14 o 13 41 54

@Zales0123 Zales0123 added the Bug Confirmed bugs or bugfixes. label Dec 14, 2021
@Zales0123 Zales0123 requested a review from a team as a code owner December 14, 2021 12:47
@Zales0123 Zales0123 force-pushed the remove-invalid-not-null-usage branch from 9724704 to 3cc570e Compare December 14, 2021 12:51
@Zales0123 Zales0123 changed the title [Migrations] Remove invalid NOT NULL usage [WIP][Migrations] Remove invalid NOT NULL usage Dec 14, 2021
@Zales0123 Zales0123 force-pushed the remove-invalid-not-null-usage branch from c126ba3 to 3cc570e Compare December 14, 2021 13:20
@Zales0123 Zales0123 force-pushed the remove-invalid-not-null-usage branch from 3cc570e to 78149d9 Compare December 14, 2021 14:05
@Zales0123 Zales0123 changed the title [WIP][Migrations] Remove invalid NOT NULL usage [Migrations] Remove invalid NOT NULL usage Dec 14, 2021
@AdamKasp AdamKasp merged commit ee4a0f4 into Sylius:master Dec 14, 2021
@AdamKasp
Copy link
Copy Markdown
Contributor

Thank you, Mateusz! 🎉

@Zales0123 Zales0123 deleted the remove-invalid-not-null-usage branch December 14, 2021 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Confirmed bugs or bugfixes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants