chore(server): use 'double precision' instead of numeric

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9972
GitOrigin-RevId: 0a6a06081a7c5a3618b6c7252c6697da97c6efc2
This commit is contained in:
Daniel Harvey 2023-07-26 17:37:58 +01:00 committed by hasura-bot
parent cf2d205937
commit 37726b088c

View File

@ -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;
|],