Skip to content

Commit

Permalink
Merge pull request #1722 from tilezen/zerebubuth/fix-looks-like-servi…
Browse files Browse the repository at this point in the history
…ce-rest-area-sql-functions

Fix SQL functions.
  • Loading branch information
zerebubuth authored Dec 7, 2018
2 parents b3af261 + 5d17a3f commit 21acb94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/functions.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@ CREATE OR REPLACE FUNCTION tz_looks_like_service_area(name TEXT)
RETURNS INTEGER AS $$
BEGIN
IF name ILIKE '%service area' OR name ILIKE '%services' OR name ILIKE '%travel plaza' THEN
RETURN 13
RETURN 13;
END IF;
RETURN 17;
END;
Expand All @@ -1046,7 +1046,7 @@ CREATE OR REPLACE FUNCTION tz_looks_like_rest_area(name TEXT)
RETURNS INTEGER AS $$
BEGIN
IF name ILIKE '%rest area' THEN
RETURN 13
RETURN 13;
END IF;
RETURN 17;
END;
Expand Down

0 comments on commit 21acb94

Please sign in to comment.