From 37726b088c34de173498a13d0dabb89318f3de6d Mon Sep 17 00:00:00 2001 From: Daniel Harvey Date: Wed, 26 Jul 2023 17:37:58 +0100 Subject: [PATCH] chore(server): use 'double precision' instead of numeric PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9972 GitOrigin-RevId: 0a6a06081a7c5a3618b6c7252c6697da97c6efc2 --- .../Auth/Authorization/InheritedRoles/ColumnRedactionSpec.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/lib/api-tests/src/Test/Auth/Authorization/InheritedRoles/ColumnRedactionSpec.hs b/server/lib/api-tests/src/Test/Auth/Authorization/InheritedRoles/ColumnRedactionSpec.hs index 9f33800ead1..8ecff91b3d5 100644 --- a/server/lib/api-tests/src/Test/Auth/Authorization/InheritedRoles/ColumnRedactionSpec.hs +++ b/server/lib/api-tests/src/Test/Auth/Authorization/InheritedRoles/ColumnRedactionSpec.hs @@ -107,7 +107,7 @@ computedFieldSetupActions testEnv = Postgres.run_ testEnv $ [i| CREATE FUNCTION #{ employee_yearly_salary schemaName }(employee_row employee) - RETURNS numeric AS $$ + RETURNS double precision AS $$ SELECT employee_row.monthly_salary * 12 $$ LANGUAGE sql STABLE; |],