add video bucket path

This commit is contained in:
Brandon Thomas committed 2021-05-30 00:35:24 -04:00
1 parent ea566c465e
commit e84070f5bb
1 file changed
+8
@@ -38,6 +38,8 @@ pub struct W2lResultRecordForResponse {
pub maybe_w2l_template_token: Option<String>,
pub maybe_tts_inference_result_token: Option<String>,
pub public_bucket_video_path: String,
pub template_type: Option<String>,
pub template_title: Option<String>,
@@ -81,6 +83,8 @@ pub struct RawW2lResultRecord {
pub maybe_w2l_template_token: Option<String>,
pub maybe_tts_inference_result_token: Option<String>,
pub public_bucket_video_path: String,
pub template_type: Option<String>,
pub template_title: Option<String>, // from field `w2l_templates.title`
@@ -143,6 +147,8 @@ SELECT
w2l_results.token as w2l_result_token,
w2l_results.maybe_tts_inference_result_token,
w2l_results.public_bucket_video_path,
w2l_templates.token as maybe_w2l_template_token,
w2l_templates.template_type,
w2l_templates.title as template_title,
@@ -192,6 +198,8 @@ WHERE
maybe_w2l_template_token: ir.maybe_w2l_template_token.clone(),
maybe_tts_inference_result_token: ir.maybe_tts_inference_result_token.clone(),
public_bucket_video_path: ir.public_bucket_video_path.clone(),
template_type: ir.template_type.clone(),
template_title: ir.template_title.clone(),