]> Untitled Git - lemmy.git/blobdiff - crates/db_schema/src/source/post.rs
Embed Peertube videos (#2261)
[lemmy.git] / crates / db_schema / src / source / post.rs
index a3054e4080650755181c3387c6469b573976ef50..f8e7dc36c36ce0992817c90d3e9f186724e75b97 100644 (file)
@@ -23,7 +23,7 @@ pub struct Post {
   pub stickied: bool,
   pub embed_title: Option<String>,
   pub embed_description: Option<String>,
-  pub embed_html: Option<String>,
+  pub embed_video_url: Option<DbUrl>,
   pub thumbnail_url: Option<DbUrl>,
   pub ap_id: DbUrl,
   pub local: bool,
@@ -47,7 +47,7 @@ pub struct PostForm {
   pub stickied: Option<bool>,
   pub embed_title: Option<String>,
   pub embed_description: Option<String>,
-  pub embed_html: Option<String>,
+  pub embed_video_url: Option<DbUrl>,
   pub thumbnail_url: Option<DbUrl>,
   pub ap_id: Option<DbUrl>,
   pub local: Option<bool>,