]> ruin.nu Git - ndwebbie.git/blob - database/endtick.sql
Use left join so the view can be used before a user has entered coords, also update...
[ndwebbie.git] / database / endtick.sql
1 CREATE FUNCTION endtick() RETURNS integer
2 AS $$SELECT value::integer FROM misc WHERE id = 'ENDTICK'$$
3 LANGUAGE sql STABLE;