aboutsummaryrefslogtreecommitdiff
path: root/db/migrations/20260820184307_ride_moving_time.sql
blob: 65056096899af577fcb8bf9d36261728992be7ca (plain) (blame)
1
2
3
4
5
6
7
8
9

-- migrate:up
alter table rides rename column moving_time_s to external_moving_time_s;
alter table rides add column moving_time_s integer;
alter table rides add column moving_time_algo_version text;

-- migrate:down
alter table rides drop column moving_time_algo_version;
alter table rides drop column moving_time_s;
alter table rides rename column external_moving_time_s to moving_time_s;