Video support
This commit is contained in:
parent
4960527af3
commit
c650c27825
14 changed files with 310 additions and 57 deletions
|
|
@ -11,7 +11,11 @@ pub struct Model {
|
|||
pub media: String,
|
||||
pub width: i32,
|
||||
pub height: i32,
|
||||
#[sea_orm(column_type = "custom(\"enum_text\")")]
|
||||
pub media_type: String,
|
||||
pub thumbnail: String,
|
||||
pub thumbnail_width: i32,
|
||||
pub thumbnail_height: i32,
|
||||
pub title: Option<String>,
|
||||
#[sea_orm(column_type = "Text", nullable)]
|
||||
pub description: Option<String>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue