geog not null and speed can be null
This commit is contained in:
parent
69d73b4f6f
commit
b9bb919b96
4
init.sql
4
init.sql
@ -14,8 +14,8 @@ create table if not exists training(
|
||||
create table if not exists training_data(
|
||||
training_id uuid not null,
|
||||
t timestamp with time zone not null,
|
||||
geog GEOGRAPHY(Point), -- perf issues but don't care enough for geometry->projection->geography conversions
|
||||
speed float not null,
|
||||
geog GEOGRAPHY(Point) not null, -- perf issues but don't care enough for geometry->projection->geography conversions
|
||||
speed float,
|
||||
elevation float not null,
|
||||
constraint fk_training_id foreign key(training_id) references training(id) on delete cascade
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user