-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support "Remove Model" in Automatic Migration Generator (#221)
* Add support for removing models in automatic migration generator Implement the ability to detect when a model has been removed from the codebase and generate appropriate migration operations. This includes: - Add RemoveModel variant to OperationInner enum in migrations.rs - Create RemoveModelBuilder for constructing remove operations - Implement make_remove_model_operation in migration_generator.rs - Update relevant utility functions to handle the new operation type - Add tests for the new functionality Fixes #207 * Update cot-cli/src/migration_generator.rs --------- Co-authored-by: Marek Grzelak <marek.grzelak@praetorian.com>
- Loading branch information
1 parent
098fc5a
commit 30cf784
Showing
2 changed files
with
386 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.