test: spread embed disambiguates recursive m2m

This commit is contained in:
steve-chavez
2022-11-18 18:11:14 -05:00
committed by Steve Chavez
parent 60c0c11c1d
commit 25f65065f4
4 changed files with 31 additions and 1 deletions
+11
View File
@@ -3026,3 +3026,14 @@ LANGUAGE sql
AS $$
select * from test.yards;
$$;
create table test.posters(
id int primary key,
name text
);
create table test.subscriptions(
subscriber int references test.posters(id),
subscribed int references test.posters(id),
primary key(subscriber, subscribed)
);