-
-
Notifications
You must be signed in to change notification settings - Fork 33
Description
We should support removing fields in the automatic migration generator.
The entry point for this is
cot/cot-cli/src/migration_generator.rs
Lines 404 to 411 in 2bbb096
#[must_use] | |
fn make_remove_field_operation( | |
&self, | |
_migration_model: &ModelInSource, | |
_migration_field: &Field, | |
) -> DynOperation { | |
todo!() | |
} |
OperationInner
variant: Line 460 in 2bbb096
enum OperationInner { |
Note that the "removed field" operation will need to store all the data about the removed field, too, so that an implementation of Operation::backwards
can be created.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
Done