mirror of
https://github.com/versia-pub/activitypub.git
synced 2025-12-06 14:48:19 +01:00
fix: pls work
This commit is contained in:
parent
566c444aed
commit
8831275097
|
|
@ -5,20 +5,20 @@ use sea_orm::entity::prelude::*;
|
||||||
#[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq)]
|
#[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq)]
|
||||||
#[sea_orm(table_name = "follow_relation")]
|
#[sea_orm(table_name = "follow_relation")]
|
||||||
pub struct Model {
|
pub struct Model {
|
||||||
#[sea_orm(primary_key)]
|
#[sea_orm(primary_key, auto_increment = false)]
|
||||||
pub id: String,
|
pub id: String,
|
||||||
pub followee_id: String,
|
pub followee_id: String,
|
||||||
pub follower_id: String,
|
pub follower_id: String,
|
||||||
pub ap_json: String,
|
|
||||||
pub ap_accept_json: Option<String>,
|
|
||||||
pub ap_id: Option<String>,
|
|
||||||
pub ap_accept_id: Option<String>,
|
|
||||||
pub accept_id: Option<String>,
|
|
||||||
pub remote: bool,
|
|
||||||
pub followee_host: Option<String>,
|
pub followee_host: Option<String>,
|
||||||
pub follower_host: Option<String>,
|
pub follower_host: Option<String>,
|
||||||
pub followee_inbox: Option<String>,
|
pub followee_inbox: Option<String>,
|
||||||
pub follower_inbox: Option<String>,
|
pub follower_inbox: Option<String>,
|
||||||
|
pub accept_id: Option<String>,
|
||||||
|
pub ap_id: Option<String>,
|
||||||
|
pub ap_accept_id: Option<String>,
|
||||||
|
pub remote: bool,
|
||||||
|
pub ap_json: String,
|
||||||
|
pub ap_accept_json: Option<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]
|
#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue