From 10806900a46b4eba197af9fc768928c57bd33982 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Fri, 28 Aug 2026 10:19:15 +0200 Subject: Add touring ride type for cyclotourisme --- db/schema.sql | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'db/schema.sql') diff --git a/db/schema.sql b/db/schema.sql index a22e98f..79f4c62 100644 --- a/db/schema.sql +++ b/db/schema.sql @@ -13,7 +13,7 @@ CREATE TABLE rides ( average_speed_mps real not null, created_at text not null default (strftime('%Y-%m-%dT%H:%M:%SZ', 'now')), updated_at text not null default (strftime('%Y-%m-%dT%H:%M:%SZ', 'now')) -, cotacol_score real, cotacol_algo_version text, moving_time_s integer, moving_time_algo_version text, bike_type TEXT NOT NULL DEFAULT '' CHECK (bike_type IN ('', 'road', 'mtb')), ride_type TEXT NOT NULL DEFAULT '' CHECK (ride_type IN ('', 'training', 'indoor', 'race', 'transport')), fit_path TEXT NOT NULL DEFAULT ''); +, cotacol_score real, cotacol_algo_version text, moving_time_s integer, moving_time_algo_version text, bike_type TEXT NOT NULL DEFAULT '' CHECK (bike_type IN ('', 'road', 'mtb')), ride_type TEXT NOT NULL DEFAULT '' CHECK (ride_type IN ('', 'training', 'indoor', 'race', 'transport', 'touring')), fit_path TEXT NOT NULL DEFAULT ''); CREATE TABLE official_climbs ( id integer primary key, name text not null, @@ -43,4 +43,5 @@ INSERT INTO "schema_migrations" (version) VALUES ('20260821000000'), ('20260823000000'), ('20260827000000'), - ('20260828000000'); + ('20260828000000'), + ('20260829000000'); -- cgit v1.3