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

Fresh install will cause warning in Plugin page #206

Open
2 tasks
doekenorg opened this issue Nov 15, 2024 · 1 comment
Open
2 tasks

Fresh install will cause warning in Plugin page #206

doekenorg opened this issue Nov 15, 2024 · 1 comment
Assignees
Labels

Comments

@doekenorg
Copy link
Collaborator

When the migration runner is instantiated, it looks for the migrations in the src directory, directly in the plugin folder. But since we now use Strauss with a src relocation, that folder doesn't exist. So it throws a warning.

  • Add a is_readable check
  • Check if we are in a build state, and change the path accordingly. (See AddOnProvider).
@doekenorg doekenorg added the bug label Nov 15, 2024
@doekenorg doekenorg self-assigned this Nov 15, 2024
@bennemann
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants