Skip to content

Commit

Permalink
Enable commented out references to files/directories we have so far
Browse files Browse the repository at this point in the history
  • Loading branch information
CarsonF committed Nov 10, 2023
1 parent a0695d1 commit b9eeb55
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions dbschema/engagement.esdl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ module default {
default := false;
};
paratextRegistryId: str;
# pnp: File;
pnp: File;

sentPrintingDate: cal::local_date {
annotation deprecated := "Legacy data";
Expand Down Expand Up @@ -122,8 +122,8 @@ module default {
mentor: User;
# position: Engagement::InternPosition;
# multi methodologies: ProductMethodology;
# countryOfOrigin: Location;
# growthPlan: File;
countryOfOrigin: Location;
growthPlan: File;

trigger connectCertificationCeremony after insert for each do (
insert Engagement::CertificationCeremony {
Expand Down
10 changes: 5 additions & 5 deletions dbschema/location.esdl
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ module default {
constraint exclusive;
}
required type: Location::Type;

isoAlpha3: Location::IsoAlpha3Code {
constraint exclusive;
};

#TODO - links
#fundingAccount: FundingAccount;
#defaultFieldRegion: FieldRegion;
#mapImage: File;
mapImage: File;
}
}

module Location {
scalar type Type extending enum<
Country,
Expand All @@ -25,7 +25,7 @@ module Location {
State,
CrossBorderArea
>;

scalar type IsoAlpha3Code extending str {
constraint regexp(r'^[A-Z]{3}$');
}
Expand Down
2 changes: 1 addition & 1 deletion dbschema/project.esdl
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ module default {
# link primaryLocation: Location;
# link marketingLocation: Location;
# link fieldRegion: FieldRegion;
# link rootDirectory: Directory;
link rootDirectory: Directory;

overloaded link projectContext: Project::Context {
default := (insert Project::Context);
Expand Down

0 comments on commit b9eeb55

Please sign in to comment.