Update database schema
This commit is contained in:
parent
74a8ffa38e
commit
a29eb08883
14 changed files with 468 additions and 406 deletions
|
|
@ -1,19 +0,0 @@
|
|||
-- Name: plpgsql_call_handler (); Type: FUNCTION; Schema: public; Owner: dany
|
||||
--
|
||||
|
||||
CREATE FUNCTION plpgsql_call_handler () RETURNS language_handler
|
||||
AS '$libdir/plpgsql', 'plpgsql_call_handler'
|
||||
LANGUAGE c;
|
||||
-- Name: today_hour (); Type: FUNCTION; Schema: public; Owner: dany
|
||||
--
|
||||
|
||||
CREATE FUNCTION today_hour () RETURNS text
|
||||
AS '
|
||||
declare
|
||||
hour text ;
|
||||
begin
|
||||
select to_char(now(),''HHMI'') into hour;
|
||||
return hour;
|
||||
end;
|
||||
'
|
||||
LANGUAGE plpgsql;
|
||||
Loading…
Add table
Add a link
Reference in a new issue