Skip to content

Commit

Permalink
change _lang to translations
Browse files Browse the repository at this point in the history
  • Loading branch information
kylerchin committed Mar 21, 2024
1 parent e72e9cc commit 8817513
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions migrations/20240110110356_init.sql
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,14 @@ CREATE TABLE gtfs.agencies (
agency_id text NOT NULL,
attempt_id text NOT NULL,
agency_name text NOT NULL,
agency_name_lang hstore,
agency_name_translations hstore,
agency_url text NOT NULL,
agency_url_lang hstore,
agency_url_translations hstore,
agency_timezone text NOT NULL,
agency_lang text,
agency_phone text,
agency_fare_url text,
agency_fare_url_lang hstore,
agency_fare_url_translations hstore,
chateau text NOT NULL,
PRIMARY KEY (static_onestop_id, attempt_id)
);
Expand All @@ -109,13 +109,13 @@ CREATE TABLE gtfs.routes (
attempt_id text NOT NULL,
route_id text NOT NULL,
short_name text NOT NULL,
short_name_lang hstore,
short_name_translations hstore,
long_name text NOT NULL,
long_name_lang hstore,
long_name_translations hstore,
gtfs_desc text,
route_type smallint NOT NULL,
url text,
url_lang hstore,
url_translations hstore,
agency_id text,
gtfs_order int,
color text,
Expand Down Expand Up @@ -156,7 +156,7 @@ CREATE TABLE gtfs.trips (
route_id text NOT NULL,
service_id text NOT NULL,
trip_headsign text,
trip_headsign_lang hstore,
trip_headsign_translations hstore,
has_stop_headsign boolean,
stop_headsigns text[],
trip_short_name text,
Expand All @@ -175,11 +175,11 @@ CREATE TABLE gtfs.stops (
agency_id text,
gtfs_id text NOT NULL,
name text NOT NULL,
name_lang hstore,
name_translations hstore,
displayname text NOT NULL,
code text,
gtfs_desc text,
gtfs_desc_lang hstore,
gtfs_desc_translations hstore,
location_type smallint,
parent_station text,
zone_id text,
Expand All @@ -190,7 +190,7 @@ CREATE TABLE gtfs.stops (
primary_route_type text,
level_id text,
platform_code text,
platform_code_lang hstore,
platform_code_translations hstore,
routes text[],
route_types smallint[],
children_ids text[],
Expand All @@ -199,7 +199,7 @@ CREATE TABLE gtfs.stops (
hidden boolean,
chateau text NOT NULL,
location_alias text[],
tts_stop_lang hstore,
tts_stop_translations hstore,
PRIMARY KEY (onestop_feed_id, attempt_id, gtfs_id)
);

Expand All @@ -215,7 +215,7 @@ CREATE TABLE gtfs.stoptimes (
departure_time bigint,
stop_id text NOT NULL,
stop_headsign text,
stop_headsign_lang text,
stop_headsign_translations hstore,
pickup_type int,
drop_off_type int,
shape_dist_traveled double precision,
Expand Down

0 comments on commit 8817513

Please sign in to comment.