diff options
author | William Carroll <wpcarro@gmail.com> | 2020-07-30T18·52+0100 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-07-30T18·52+0100 |
commit | 8ebc89b44b3fc0e6025b33a3e7ec37e9ebb385cc (patch) | |
tree | 07b7cd08675ff19f371d5ce078c1c6f916fb80b1 /src/Trips.hs | |
parent | 6ecab8c3a625d58fa5c4c5daf62a6567b4fc7701 (diff) |
Remove erroneous parens around columns in SELECT statement
These were causing runtime errors... whoops!
Diffstat (limited to 'src/Trips.hs')
-rw-r--r-- | src/Trips.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Trips.hs b/src/Trips.hs index a7880b503ddd..55bc6b958d0f 100644 --- a/src/Trips.hs +++ b/src/Trips.hs @@ -24,4 +24,4 @@ delete dbFile tripPK = -- | Return a list of all of the trips in `dbFile`. list :: FilePath -> IO [T.Trip] list dbFile = withConnection dbFile $ \conn -> - query_ conn "SELECT (username,destination,startDate,endDate,comment) FROM Trips" + query_ conn "SELECT username,destination,startDate,endDate,comment FROM Trips" |