pub enum BreakingChange {
DroppedColumn {
table: String,
column: String,
references: Vec<CodeReference>,
},
DroppedTable {
table: String,
references: Vec<CodeReference>,
},
RenamedColumn {
table: String,
old_name: String,
new_name: String,
references: Vec<CodeReference>,
},
TypeChanged {
table: String,
column: String,
old_type: String,
new_type: String,
references: Vec<CodeReference>,
},
}Expand description
A breaking change detected in the migration.
Variants§
DroppedColumn
A column is being dropped that is still referenced in code
DroppedTable
A table is being dropped that is still referenced in code
RenamedColumn
A column is being renamed (requires code update)
TypeChanged
A column type is changing (may cause runtime errors)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BreakingChange
impl RefUnwindSafe for BreakingChange
impl Send for BreakingChange
impl Sync for BreakingChange
impl Unpin for BreakingChange
impl UnwindSafe for BreakingChange
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more