Skip to content

Commit

Permalink
Change tables to defs to pick up profile changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kshepard committed Aug 18, 2014
1 parent b4f43ba commit cc6ed05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/scala/com/azavea/gtfs/slick/ShapesComponent.scala
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ trait ShapesComponent {this: Profile =>

def * = (id, geom) <> (TripShape.tupled, TripShape.unapply)
}
val shapesTable = TableQuery[Shapes]
def shapesTable = TableQuery[Shapes]

object shapes {
def all(implicit session: Session): List[TripShape] =
Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/com/azavea/gtfs/slick/StopsComponent.scala
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ trait StopsComponent {this: Profile =>

def * = (id, name, desc, lat, lon, geom) <> (Stop.tupled, Stop.unapply)
}
val stopsTable = TableQuery[Stops]
def stopsTable = TableQuery[Stops]

object stops {
def all(implicit session: Session): List[Stop] =
Expand Down

0 comments on commit cc6ed05

Please sign in to comment.