feat: allow spreading one-to-many and many-to-many embedded resources
* Note: Aggregates are not implemented
This commit is contained in:
Vendored
+21
@@ -3779,3 +3779,24 @@ CREATE TABLE test.albums (
|
||||
ON UPDATE CASCADE
|
||||
ON DELETE CASCADE
|
||||
);
|
||||
|
||||
create table operators (
|
||||
id int primary key,
|
||||
name text,
|
||||
status jsonb
|
||||
);
|
||||
|
||||
create table process_operator (
|
||||
process_id int references processes(id),
|
||||
operator_id int references operators(id),
|
||||
primary key (process_id, operator_id)
|
||||
);
|
||||
|
||||
create table factory_buildings (
|
||||
id int primary key,
|
||||
code char(4),
|
||||
size numeric,
|
||||
"type" char(1),
|
||||
factory_id int references factories(id),
|
||||
inspections jsonb
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user