From 7a2a01b2b73f9abc336fff8b7ff4d847a168d357 Mon Sep 17 00:00:00 2001 From: timofejmalinin Date: Thu, 31 Aug 2023 23:17:00 +0400 Subject: [PATCH] fix sql command --- service/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/utils.py b/service/utils.py index 539c148..9a2afcf 100644 --- a/service/utils.py +++ b/service/utils.py @@ -24,7 +24,7 @@ def run_psql_command(): ) try: cursor = connection.cursor() - command = "CALL public.pivot_dist();" + command = "CALL public.pivot_wider();" cursor.execute(command) connection.commit() except psycopg2.Error as e: