speed col on training_data table

This commit is contained in:
Riccardo Berto 2021-02-24 10:30:31 +01:00
parent f5f2b60700
commit 4943a2a3c0

@ -14,6 +14,7 @@ create table if not exists training_data(
altitude float not null,
distance float not null,
kcal int not null,
speed float not null,
constraint fk_training_id foreign key(training_id) references training(id) on delete cascade
);
create index if not exists idx_training_data_training_id on training_data(training_id);