Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ public class Agency implements Serializable {

// Note: this is the GTFS agency_id, not the usual
// Transitime agencyId.
@Column(length=HibernateUtils.DEFAULT_ID_SIZE)
@Column(length=HibernateUtils.DEFAULT_ID_SIZE)
@Id
private final String agencyId;

@Column
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
create table Agencies (
configRev integer not null,
agencyName varchar(60) not null,
agencyId varchar(60) not null,
agencyFareUrl varchar(255),
agencyId varchar(60),
agencyLang varchar(15),
agencyPhone varchar(15),
agencyTimezone varchar(40),
Expand All @@ -19,7 +19,7 @@
maxLon double precision,
minLat double precision,
minLon double precision,
primary key (configRev, agencyName)
primary key (configRev, agencyName, agencyId)
);

create table ArrivalsDepartures (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
create table Agencies (
configRev number(10,0) not null,
agencyName varchar2(60 char) not null,
agencyId varchar2(60 char) not null,
agencyFareUrl varchar2(255 char),
agencyId varchar2(60 char),
agencyLang varchar2(15 char),
agencyPhone varchar2(15 char),
agencyTimezone varchar2(40 char),
Expand All @@ -19,7 +19,7 @@
maxLon double precision,
minLat double precision,
minLon double precision,
primary key (configRev, agencyName)
primary key (configRev, agencyName, agencyId)
);

create table ArrivalsDepartures (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
create table Agencies (
configRev int4 not null,
agencyName varchar(60) not null,
agencyId varchar(60) not null,
agencyFareUrl varchar(255),
agencyId varchar(60),
agencyLang varchar(15),
agencyPhone varchar(15),
agencyTimezone varchar(40),
Expand All @@ -19,7 +19,7 @@
maxLon float8,
minLat float8,
minLon float8,
primary key (configRev, agencyName)
primary key (configRev, agencyName, agencyId)
);

create table ArrivalsDepartures (
Expand Down