Skip to content

Conversation

@ryanmitchell
Copy link
Contributor

As reported on discord there is an error in the form migration, we needed to drop the foreign key first.

This PR ensures that is done.

@jasonvarga jasonvarga merged commit c92951d into statamic:master May 10, 2024
@ryanmitchell ryanmitchell deleted the fix/drop-fk-on-form_id branch June 19, 2024 08:16
@CasEbb
Copy link

CasEbb commented Jul 16, 2024

Where would this foreign key have been created? This PR is breaking our upgrade v3 -> v4 right now.

@ryanmitchell
Copy link
Contributor Author

@CasEbb it was used at one point in the v2 releases, so I guess it depends on how far back you came from.

Open to suggestions on how to check the FK exists before dropping it - I'm not aware of any.

@ryanmitchell
Copy link
Contributor Author

@CasEbb can you check if these updates fix the issue on your side? #324

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants