From ec047aa7e0f9d2ada2c18312eb961cb5a6930ac8 Mon Sep 17 00:00:00 2001 From: Alec Thomas Date: Sat, 8 Jun 2024 01:22:07 +1000 Subject: [PATCH] fix: leftover fsm_executions in code (#1693) Fixes #1681 --- backend/controller/sql/databasetesting/devel.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/controller/sql/databasetesting/devel.go b/backend/controller/sql/databasetesting/devel.go index e671cf54f5..49da98ed15 100644 --- a/backend/controller/sql/databasetesting/devel.go +++ b/backend/controller/sql/databasetesting/devel.go @@ -80,8 +80,8 @@ func CreateForDevel(ctx context.Context, dsn string, recreate bool) (*pgxpool.Po WITH deleted AS ( DELETE FROM async_calls RETURNING 1 - ), deleted_fsm_executions AS ( - DELETE FROM fsm_executions + ), deleted_fsm_instances AS ( + DELETE FROM fsm_instances RETURNING 1 ), deleted_leases AS ( DELETE FROM leases