Skip to content
New issue

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

fix: Add missing Migration #20

Closed
wants to merge 1 commit into from

Conversation

jacquesbh
Copy link
Member

@jacquesbh jacquesbh commented Oct 31, 2023

I feel strange about this change which is not a change 😅…

This is shit, but how did you fix it guys? 🤣

@jacquesbh jacquesbh added Priority: high High priority Status: needs review Needs review quick win Easy to pick, everybody will be happy. labels Oct 31, 2023
@jacquesbh jacquesbh added the do not merge Don't merge this! label Oct 31, 2023
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE monsieurbiz_shipping_slot_config CHANGE rrules rrules JSON DEFAULT NULL');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 suggestion: ‏I think it depends on the version of doctrine and mysql, we could do like Sylius: https://github.com/Sylius/Sylius/blob/336682edb5be6e2885bde0179816891315d89777/src/Sylius/Bundle/CoreBundle/Migrations/Version20211018130725.php

Suggested change
$this->addSql('ALTER TABLE monsieurbiz_shipping_slot_config CHANGE rrules rrules JSON DEFAULT NULL');
$this->addSql('ALTER TABLE monsieurbiz_shipping_slot_config CHANGE rrules rrules LONGTEXT DEFAULT NULL');

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jacquesbh I did it in the PR #21

@madamebiz madamebiz added Status: needs update This Issue/PR needs update and removed Status: needs review Needs review quick win Easy to pick, everybody will be happy. labels Nov 16, 2023
Copy link
Contributor

@Kiwikoti Kiwikoti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as Mario

@delyriand delyriand closed this Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do not merge Don't merge this! Priority: high High priority Status: needs update This Issue/PR needs update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants