mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
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:
parent
cf2d205937
commit
37726b088c
@ -107,7 +107,7 @@ computedFieldSetupActions testEnv =
|
|||||||
Postgres.run_ testEnv
|
Postgres.run_ testEnv
|
||||||
$ [i|
|
$ [i|
|
||||||
CREATE FUNCTION #{ employee_yearly_salary schemaName }(employee_row employee)
|
CREATE FUNCTION #{ employee_yearly_salary schemaName }(employee_row employee)
|
||||||
RETURNS numeric AS $$
|
RETURNS double precision AS $$
|
||||||
SELECT employee_row.monthly_salary * 12
|
SELECT employee_row.monthly_salary * 12
|
||||||
$$ LANGUAGE sql STABLE;
|
$$ LANGUAGE sql STABLE;
|
||||||
|],
|
|],
|
||||||
|
Loading…
Reference in New Issue
Block a user