diff --git a/pkg/repositories/gormimpl/common.go b/pkg/repositories/gormimpl/common.go index bd0a65f75d..6a9d097032 100644 --- a/pkg/repositories/gormimpl/common.go +++ b/pkg/repositories/gormimpl/common.go @@ -23,7 +23,6 @@ const ID = "id" const executionTableName = "executions" const namedEntityMetadataTableName = "named_entity_metadata" const nodeExecutionTableName = "node_executions" -const nodeExecutionEventTableName = "node_event_executions" const taskExecutionTableName = "task_executions" const taskTableName = "tasks" @@ -44,10 +43,6 @@ var entityToTableName = map[common.Entity]string{ common.NamedEntityMetadata: "named_entity_metadata", } -var innerJoinNodeExecToNodeEvents = fmt.Sprintf( - "INNER JOIN %s ON %s.node_execution_id = %s.id", - nodeExecutionTableName, nodeExecutionEventTableName, nodeExecutionTableName) - var innerJoinExecToNodeExec = fmt.Sprintf( "INNER JOIN %s ON %s.execution_project = %s.execution_project AND "+ "%s.execution_domain = %s.execution_domain AND %s.execution_name = %s.execution_name",