summaryrefslogtreecommitdiffstats
path: root/rust/src
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/database_models.rs2
-rw-r--r--rust/src/database_schema.rs1
-rw-r--r--rust/src/entity_crud.rs2
3 files changed, 0 insertions, 5 deletions
diff --git a/rust/src/database_models.rs b/rust/src/database_models.rs
index e7918ec5..e37a6f18 100644
--- a/rust/src/database_models.rs
+++ b/rust/src/database_models.rs
@@ -312,7 +312,6 @@ pub struct WebcaptureRevCdxRow {
pub sha1: String,
pub sha256: Option<String>,
pub size_bytes: Option<i64>,
- pub extra_json: Option<serde_json::Value>,
}
#[derive(Debug, Queryable, Associations, AsChangeset, Insertable)]
@@ -327,7 +326,6 @@ pub struct WebcaptureRevCdxNewRow {
pub sha1: String,
pub sha256: Option<String>,
pub size_bytes: Option<i64>,
- pub extra_json: Option<serde_json::Value>,
}
#[derive(Debug, Queryable, Identifiable, Associations, AsChangeset)]
diff --git a/rust/src/database_schema.rs b/rust/src/database_schema.rs
index ce4f5c49..b7dee298 100644
--- a/rust/src/database_schema.rs
+++ b/rust/src/database_schema.rs
@@ -380,7 +380,6 @@ table! {
sha1 -> Text,
sha256 -> Nullable<Text>,
size_bytes -> Nullable<Int8>,
- extra_json -> Nullable<Jsonb>,
}
}
diff --git a/rust/src/entity_crud.rs b/rust/src/entity_crud.rs
index 314aa043..4a7cdee0 100644
--- a/rust/src/entity_crud.rs
+++ b/rust/src/entity_crud.rs
@@ -1444,7 +1444,6 @@ impl EntityCrud for WebcaptureEntity {
size_bytes: c.size_bytes,
sha1: c.sha1,
sha256: c.sha256,
- extra: c.extra_json,
})
.collect();
@@ -1534,7 +1533,6 @@ impl EntityCrud for WebcaptureEntity {
size_bytes: c.size_bytes,
sha1: c.sha1.clone(),
sha256: c.sha256.clone(),
- extra_json: c.extra.clone(),
})
.collect();
webcapture_cdx_rows.extend(these_cdx_rows);