Enhancements
- Make sea-orm-cli & sea-orm-migration dependencies optional #2367
- Relax TransactionError's trait bound for errors to allow
anyhow::Error#2602
Bug Fixes
- Include custom
column_namein DeriveColumnColumn::from_strimpl #2603
#[derive(DeriveEntityModel)]
pub struct Model {
#[sea_orm(column_name = "lAsTnAmE")]
last_name: String,
}
assert!(matches!(Column::from_str("lAsTnAmE").unwrap(), Column::LastName));