speed col on training_data table
This commit is contained in:
parent
f5f2b60700
commit
4943a2a3c0
1
init.sql
1
init.sql
@ -14,6 +14,7 @@ create table if not exists training_data(
|
|||||||
altitude float not null,
|
altitude float not null,
|
||||||
distance float not null,
|
distance float not null,
|
||||||
kcal int not null,
|
kcal int not null,
|
||||||
|
speed float not null,
|
||||||
constraint fk_training_id foreign key(training_id) references training(id) on delete cascade
|
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);
|
create index if not exists idx_training_data_training_id on training_data(training_id);
|
Loading…
x
Reference in New Issue
Block a user