-use crate::{schema::post_report, source::post::Post};
+use crate::{schema::post_report, source::post::Post, DbUrl};
use serde::{Deserialize, Serialize};
#[derive(
pub creator_id: i32,
pub post_id: i32,
pub original_post_name: String,
- pub original_post_url: Option<String>,
+ pub original_post_url: Option<DbUrl>,
pub original_post_body: Option<String>,
pub reason: String,
pub resolved: bool,
pub creator_id: i32,
pub post_id: i32,
pub original_post_name: String,
- pub original_post_url: Option<String>,
+ pub original_post_url: Option<DbUrl>,
pub original_post_body: Option<String>,
pub reason: String,
}