Skip to content

Commit 774e4da

Browse files
Add position & methodology to Engagement schema (#3233)
Co-authored-by: Carson Full <[email protected]>
1 parent 25715a4 commit 774e4da

File tree

2 files changed

+34
-2
lines changed

2 files changed

+34
-2
lines changed

dbschema/engagement.esdl

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ module default {
121121
constraint exclusive on ((.project, .intern));
122122

123123
mentor: User;
124-
# position: Engagement::InternPosition;
125-
# multi methodologies: ProductMethodology;
124+
position: Engagement::InternPosition;
125+
multi methodologies: Product::Methodology;
126126
countryOfOrigin: Location;
127127
growthPlan: File;
128128

@@ -167,6 +167,27 @@ module Engagement {
167167
NotRenewed,
168168
>;
169169

170+
scalar type InternPosition extending enum<
171+
ConsultantInTraining,
172+
MidLevelQualityAssurance,
173+
LeadershipDevelopment,
174+
Mobilization,
175+
Personnel,
176+
Communication,
177+
Administration,
178+
Technology,
179+
Finance,
180+
LanguageProgramManager,
181+
Literacy,
182+
OralityFacilitator,
183+
ScriptureEngagement,
184+
OtherAttached,
185+
OtherTranslationCapacity,
186+
OtherPartnershipCapacity,
187+
ExegeticalFacilitator,
188+
TranslationFacilitator,
189+
>;
190+
170191
abstract type Child extending Project::Child {
171192
annotation description := "\
172193
A type that is a child of an engagement. \

dbschema/migrations/00009-m1bzq66.edgeql

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)