diff options
Diffstat (limited to 'makima/src/db/repository.rs')
| -rw-r--r-- | makima/src/db/repository.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/makima/src/db/repository.rs b/makima/src/db/repository.rs index fb430ab..ec233ba 100644 --- a/makima/src/db/repository.rs +++ b/makima/src/db/repository.rs @@ -5687,22 +5687,6 @@ pub async fn get_chain_definition_graph( })) } -/// Set the supervisor task ID for a chain. -pub async fn set_chain_supervisor_task( - pool: &PgPool, - chain_id: Uuid, - supervisor_task_id: Option<Uuid>, -) -> Result<(), sqlx::Error> { - sqlx::query( - "UPDATE chains SET supervisor_task_id = $2, updated_at = NOW() WHERE id = $1", - ) - .bind(chain_id) - .bind(supervisor_task_id) - .execute(pool) - .await?; - Ok(()) -} - /// Update chain status. pub async fn update_chain_status( pool: &PgPool, |
