Skip to content

Commit

Permalink
required folder link
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienPensart committed Jun 22, 2024
1 parent e60eda7 commit f2d567b
Show file tree
Hide file tree
Showing 4 changed files with 265 additions and 245 deletions.
2 changes: 1 addition & 1 deletion dbschema/default.esdl
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ module default {
# spotify: str;

multi keywords: Keyword;
multi folders: Folder {
required multi folders: Folder {
path: str;
}
property paths := (select .folders@path);
Expand Down
9 changes: 9 additions & 0 deletions dbschema/migrations/00002-m1nju5p.edgeql
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
CREATE MIGRATION m1nju5phzhlxhdadkoezl6fzwhblfmut36uwzzmijeipxjg4anzeva
ONTO m14r34ka5fo7fpp3z7et6ib6dgb2hpkzepiekod4bt3waybknnylyq
{
ALTER TYPE default::Music {
ALTER LINK folders {
SET REQUIRED USING (<default::Folder><std::uuid>'e6af2402-1f60-11ef-972a-dfb472d7e59b');
};
};
};
Loading

0 comments on commit f2d567b

Please sign in to comment.