Skip to content

Commit

Permalink
[EdgeDB] Rename completeDate to match
Browse files Browse the repository at this point in the history
  • Loading branch information
CarsonF committed Sep 5, 2024
1 parent 19e8270 commit 8919871
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dbschema/engagement.esdl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module default {
.<engagement[is Engagement::Ceremony]
));

completedDate: cal::local_date {
completeDate: cal::local_date {
annotation description := "Translation / Growth Plan complete date";
}
disbursementCompleteDate: cal::local_date;
Expand Down
21 changes: 21 additions & 0 deletions dbschema/migrations/00005-m1yeyjr.edgeql

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/components/engagement/engagement.edgedb.repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const baseHydrate = e.shape(e.Engagement, (engagement) => ({
}),
}),
ceremony: true,
completeDate: engagement.completedDate, // TODO fix in schema
completeDate: true,
}));

const languageExtraHydrate = {
Expand Down

0 comments on commit 8919871

Please sign in to comment.