remove duplicate col in training_data table
This commit is contained in:
parent
ecd763dad2
commit
a123a02ff0
1
init.sql
1
init.sql
@ -15,7 +15,6 @@ 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