Commit 61b6fb49 authored by Rafael De Lima Prado's avatar Rafael De Lima Prado
Browse files

database: Function no more necessary


Signed-off-by: Rafael De Lima Prado's avatarRafael de Lima Prado <rlp09@inf.ufpr.br>
parent d1a3be4a
CREATE OR REPLACE FUNCTION verify_null(integer) RETURNS integer AS $$
SELECT CASE
WHEN $1 IS NULL THEN 0
ELSE $1
END;
$$ LANGUAGE SQL;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment