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

Fixed incorrect table name during migration #151

Merged
merged 1 commit into from
Apr 15, 2024
Merged

Fixed incorrect table name during migration #151

merged 1 commit into from
Apr 15, 2024

Conversation

witaway
Copy link
Contributor

@witaway witaway commented Apr 14, 2024

Previously, when the fabricator table name was non-default, incorrect table name was used during creation self-reference in migrations. In consequence, migration has failed.

I've made a little patch to solve this problem.

Issue: #150

Previously, when the fabricator table name was non-default, incorrect table name was used during creation self-reference.
Copy link

what-the-diff bot commented Apr 14, 2024

PR Summary

  • Modified Foreign Key Constraints in Migration File
    The configuration for creating the pages table in our database has been updated. This change specifically concerns the 'parent-child' relationship within the pages table. Now, the system dynamically determines the name of the related table based on certain configuration settings, enhancing flexibility and potential customization.

@witaway
Copy link
Contributor Author

witaway commented Apr 14, 2024

It's not a big deal, but I just wanted to create my first pull-request to be honest 🙂

@Z3d0X Z3d0X merged commit e54d0cc into Z3d0X:2.x Apr 15, 2024
7 checks passed
@Z3d0X
Copy link
Owner

Z3d0X commented Apr 15, 2024

Thanks

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.

2 participants