Order demand, pattern and curve
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
create table patterns
|
||||
(
|
||||
id varchar(32) references _pattern(id) not null
|
||||
_order serial primary key
|
||||
, id varchar(32) references _pattern(id) not null
|
||||
, factor numeric not null
|
||||
);
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
|
||||
create table curves
|
||||
(
|
||||
id varchar(32) references _curve(id) not null
|
||||
_order serial primary key
|
||||
, id varchar(32) references _curve(id) not null
|
||||
, x numeric not null
|
||||
, y numeric not null
|
||||
);
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
|
||||
create table demands
|
||||
(
|
||||
junction varchar(32) references junctions(id) not null
|
||||
_order serial primary key
|
||||
, junction varchar(32) references junctions(id) not null
|
||||
, demand numeric not null
|
||||
, pattern varchar(32) references _pattern(id)
|
||||
, category text
|
||||
|
||||
Reference in New Issue
Block a user