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: resolving dependencies in migrations is bad practice #185

Merged
merged 1 commit into from
Jun 26, 2023

Conversation

SychO9
Copy link
Contributor

@SychO9 SychO9 commented Jun 25, 2023

Using the container within migrations prevents the ability to run those migrations on first installs. For example, this gets in the way of migrating database formats to Flarum.

Should always use the database connection directly to apply changes.

@imorland imorland merged commit 3870500 into FriendsOfFlarum:master Jun 26, 2023
2 checks passed
@SychO9 SychO9 deleted the patch-1 branch June 26, 2023 08:39
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.

None yet

3 participants