init
This commit is contained in:
@@ -19,6 +19,8 @@ pub struct Model {
|
||||
pub reply_to_id: Option<Uuid>,
|
||||
#[sea_orm(has_many)]
|
||||
pub attachments: HasMany<super::attachment::Entity>,
|
||||
#[sea_orm(has_many)]
|
||||
pub reactions: HasMany<super::message_reaction::Entity>,
|
||||
#[sea_orm(
|
||||
belongs_to,
|
||||
from = "channel_id",
|
||||
|
||||
Reference in New Issue
Block a user