 --
 
 CREATE FUNCTION st_covers(text, text) RETURNS boolean
-    LANGUAGE sql IMMUTABLE STRICT
+    LANGUAGE sql IMMUTABLE
     AS $_$ SELECT ST_Covers($1::geometry, $2::geometry);  $_$;
 
 


CREATE TABLE alternative_names (
    id integer NOT NULL,
    name text,
    locality_id integer,
    short_name text,
    qualifier_name text,
    qualifier_locality text,
    qualifier_district text,
    creation_datetime timestamp without time zone,
    modification_datetime timestamp without time zone,
    revision_number character varying(255),
    modification character varying(255),
    created_at timestamp without time zone,
    updated_at timestamp without time zone
);





--
-- Name: index_route_segments_on_journey_pattern_id; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX index_route_segments_on_journey_pattern_id ON route_segments USING btree (journey_pattern_id);


--
-- Name: index_route_segments_on_route_id; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

