Compare commits

..

No commits in common. "a2005c55aa34ba35cd9abc2ea9106be66748e7f9" and "d3bc2bea4ffa7cc2934dece63488725686420825" have entirely different histories.

View File

@ -30,7 +30,7 @@ impl BoatStat {
SELECT SELECT
boat.id, boat.id,
location.name AS location, location.name AS location,
CAST(strftime('%Y', COALESCE(arrival, 'now')) AS INTEGER) AS year, CAST(strftime('%Y', arrival) AS INTEGER) AS year,
CAST(SUM(COALESCE(distance_in_km, 0)) AS INTEGER) AS rowed_km CAST(SUM(COALESCE(distance_in_km, 0)) AS INTEGER) AS rowed_km
FROM FROM
boat boat