This commit is contained in:
Billy Chan 2021-10-20 15:17:11 +08:00
parent eed8b7c51e
commit 388bf2cfca
No known key found for this signature in database
GPG Key ID: A2D690CAC7DF3CC7

View File

@ -14,6 +14,8 @@ use sea_query::{Nullable, Value, ValueType};
/// > See [DeriveActiveEnum](sea_orm_macros::DeriveActiveEnum) for the full specification of macro attributes. /// > See [DeriveActiveEnum](sea_orm_macros::DeriveActiveEnum) for the full specification of macro attributes.
/// ///
/// ```rust /// ```rust
/// use sea_orm::entity::prelude::*;
///
/// // Using the derive macro /// // Using the derive macro
/// #[derive(Debug, PartialEq, DeriveActiveEnum)] /// #[derive(Debug, PartialEq, DeriveActiveEnum)]
/// #[sea_orm(rs_type = "String", db_type = "String(Some(1))")] /// #[sea_orm(rs_type = "String", db_type = "String(Some(1))")]