Skip to content

Commit 5c0aab6

Browse files
committed
Link to some existing issues
1 parent 5d46b5d commit 5c0aab6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

dbschema/project.esdl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,10 @@ module default {
8383
link rootDirectory: Directory;
8484

8585
overloaded link projectContext: Project::Context {
86-
default := (insert Project::Context);
86+
default := (insert Project::Context {
87+
# https://github.com/edgedb/edgedb/issues/3960
88+
# projects := {__subject__},
89+
});
8790
}
8891
# Setting the new project as its own context should be the immediate next thing that happens
8992
# So enforce that that happens (as best we can), and assert that the context is ever only itself.

dbschema/seeds/006.translation-projects.edgeql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ select { `Added Projects` := new.name }
6060
filter count(new) > 0;
6161

6262
# Update all projects to self reference for their context (has to be separate query)
63+
# https://github.com/edgedb/edgedb/issues/3960
6364
with updated := (
6465
for project in Project union (
6566
update project.projectContext

0 commit comments

Comments
 (0)