Skip to content

Commit 91a9316

Browse files
committed
store: Fix compile errors
1 parent 566fb0c commit 91a9316

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

store/postgres/src/deployment_store.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1322,9 +1322,9 @@ impl DeploymentStore {
13221322
let layout = self.layout(conn, site.clone())?;
13231323

13241324
let event = if truncate {
1325-
let event = layout.truncate_tables(conn)?;
1325+
layout.truncate_tables(conn)?;
13261326
deployment::clear_entity_count(conn, site.as_ref())?;
1327-
event
1327+
StoreEvent::new(vec![])
13281328
} else {
13291329
let (event, count) = layout.revert_block(conn, block)?;
13301330
deployment::update_entity_count(conn, site.as_ref(), count)?;

store/postgres/src/relational.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ use graph::data::graphql::TypeExt as _;
3838
use graph::data::query::Trace;
3939
use graph::data::value::Word;
4040
use graph::data_source::CausalityRegion;
41-
use graph::prelude::{q, EntityChange, EntityQuery, StopwatchMetrics, ENV_VARS};
41+
use graph::prelude::{q, EntityChange, EntityQuery, StopwatchMetrics, StoreEvent, ENV_VARS};
4242
use graph::schema::{
4343
EntityKey, EntityType, Field, FulltextConfig, FulltextDefinition, InputSchema,
4444
};

0 commit comments

Comments
 (0)