Skip to content

Commit

Permalink
Merge pull request #160 from HSLdevcom/AB#38649_map_generation_bugfix
Browse files Browse the repository at this point in the history
AB#38649: Bugfix, change terminus varchar data to text
  • Loading branch information
e-halinen authored Jun 6, 2024
2 parents 806e96c + f78867c commit 7cefb47
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/setup/createFunctions.sql
Original file line number Diff line number Diff line change
Expand Up @@ -285,14 +285,14 @@ DO
$$
BEGIN
create type jore.terminus as (
line_id character varying(6),
stop_id character varying(6),
type character varying(6),
line_id text,
stop_id text,
type text,
lat numeric(9, 6),
lon numeric(9, 6),
stop_short_id character varying(6),
stop_area_id character varying(6),
terminal_id character varying(6),
stop_short_id text,
stop_area_id text,
terminal_id text,
point geometry
);
EXCEPTION
Expand Down Expand Up @@ -460,14 +460,14 @@ DO
$$
BEGIN
create type jore.terminus_grouped as (
lines character varying(6)[],
lines text[],
lat numeric(9, 6),
lon numeric(9, 6),
stop_area_id character varying(6),
terminal_id character varying(6),
type character varying(6),
name_fi character varying(40),
name_se character varying(40)
stop_area_id text,
terminal_id text,
type text,
name_fi text,
name_se text
);
EXCEPTION
WHEN duplicate_object THEN null;
Expand Down

0 comments on commit 7cefb47

Please sign in to comment.