Initial commit
This commit is contained in:
13
script/sql/create/9.demands.sql
Normal file
13
script/sql/create/9.demands.sql
Normal file
@@ -0,0 +1,13 @@
|
||||
-- [DEMANDS]
|
||||
|
||||
create table demands
|
||||
(
|
||||
_order serial primary key
|
||||
, junction varchar(32) references junctions(id) not null
|
||||
, demand float8 not null
|
||||
, pattern varchar(32) references _pattern(id)
|
||||
, category text
|
||||
);
|
||||
|
||||
-- delete when delete junction
|
||||
-- unset pattern when delete pattern
|
||||
Reference in New Issue
Block a user