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

We should not support migrations inside drivers #23

Open
Resonious opened this issue May 13, 2020 · 0 comments
Open

We should not support migrations inside drivers #23

Resonious opened this issue May 13, 2020 · 0 comments

Comments

@Resonious
Copy link
Member

The philosophy behind drivers is that they can be freely added and deleted without requiring any main app changes. But when a driver contains migrations, the schema becomes wrong when a driver is deleted.

For that reason, we don't actually want to support migrations inside drivers. We can remove all of the weird hacks for running scripts in the context of a driver, since those are there specifically to support migrations 😅 .

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

No branches or pull requests

1 participant