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

Suppport "remove model" in automatic migration generator #207

Open
m4tx opened this issue Feb 25, 2025 · 0 comments
Open

Suppport "remove model" in automatic migration generator #207

m4tx opened this issue Feb 25, 2025 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@m4tx
Copy link
Member

m4tx commented Feb 25, 2025

We should support removing models in the automatic migration generator.

The entry point for this is

#[must_use]
fn make_remove_model_operation(&self, _migration_model: &ModelInSource) -> DynOperation {
todo!()
}
. This will also require adding a new OperationInner variant:
enum OperationInner {

Note that the "removed model" operation will need to store all the data about the removed model, too, so that an implementation of Operation::backwards can be created.

@m4tx m4tx added the enhancement New feature or request label Feb 25, 2025
@m4tx m4tx added this to the v0.2 milestone Feb 25, 2025
@m4tx m4tx added this to Roadmap Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant