This commit is contained in:
Chris Tsang 2021-09-21 18:32:54 +08:00
parent 8c8c93bb40
commit aec111e035
2 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@ pub struct Model {
#[serde(skip_deserializing)]
pub id: i32,
pub title: String,
#[sea_orm(column_type = "Text")]
pub text: String,
}

View File

@ -8,6 +8,7 @@ pub struct Model {
#[sea_orm(primary_key)]
pub id: i32,
pub title: String,
#[sea_orm(column_type = "Text")]
pub text: String,
}