-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathlogical_data_model.puml
More file actions
3200 lines (2954 loc) · 93.7 KB
/
Copy pathlogical_data_model.puml
File metadata and controls
3200 lines (2954 loc) · 93.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
@startuml
' avoid problems with angled crows feet
skinparam linetype ortho
skinparam class {
BorderColor #336A90
BorderThickness 2
}
' Classes
class ActivityRecipients{
* id : integer : <generated>
grantId : integer : REFERENCES "Grants".id
otherEntityId : integer : REFERENCES "OtherEntities".id
* activityReportId : integer : REFERENCES "ActivityReports".id
* createdAt : timestamp with time zone : now()
* updatedAt : timestamp with time zone : now()
}
class ActivityReportApprovers{
* id : integer : <generated>
* activityReportId : integer : REFERENCES "ActivityReports".id
* userId : integer : REFERENCES "Users".id
* createdAt : timestamp with time zone : now()
* updatedAt : timestamp with time zone : now()
deletedAt : timestamp with time zone
note : text
status : enum
}
class ActivityReportCollaborators{
* id : integer : <generated>
* activityReportId : integer : REFERENCES "ActivityReports".id
* userId : integer : REFERENCES "Users".id
* createdAt : timestamp with time zone : now()
* updatedAt : timestamp with time zone : now()
}
class ActivityReportFiles{
* id : integer : <generated>
* activityReportId : integer : REFERENCES "ActivityReports".id
* fileId : integer : REFERENCES "Files".id
* createdAt : timestamp with time zone
* updatedAt : timestamp with time zone
}
class ActivityReportGoalFieldResponses{
* id : integer : <generated>
* activityReportGoalId : integer : REFERENCES "ActivityReportGoals".id
* goalTemplateFieldPromptId : integer : REFERENCES "GoalTemplateFieldPrompts".id
* createdAt : timestamp with time zone
* updatedAt : timestamp with time zone
response : text[]
}
class ActivityReportGoalResources{
* id : integer : <generated>
* activityReportGoalId : integer : REFERENCES "ActivityReportGoals".id
* resourceId : integer : REFERENCES "Resources".id
* createdAt : timestamp with time zone
* updatedAt : timestamp with time zone
sourceFields : enum[]
}
enum enum_ActivityReportGoalResources_sourceFields {
name
resource
timeframe
}
enum_ActivityReportGoalResources_sourceFields <|-- ActivityReportGoalResources
class ActivityReportGoals{
* id : integer : <generated>
originalGoalId : integer : REFERENCES "Goals".id
* activityReportId : integer : REFERENCES "ActivityReports".id
* goalId : integer : REFERENCES "Goals".id
* createdAt : timestamp with time zone
* updatedAt : timestamp with time zone
closeSuspendContext : text
closeSuspendReason : enum
endDate : date
isActivelyEdited : boolean : false
isRttapa : enum
name : text
source : enum
status : varchar(255)
timeframe : text
}
class ActivityReportObjectiveCitations{
* id : integer : <generated>
* citationId : integer : REFERENCES "Citations".id
* acro : text
* activityReportObjectiveId : integer
* citation : text
* createdAt : timestamp with time zone : now()
* findingId : text
* findingType : text
* grantId : integer
* grantNumber : text
* monitoringFindingStatusName : text
* name : text
* reportDeliveryDate : text
* reviewName : text
* severity : integer
* standardId : integer
* updatedAt : timestamp with time zone : now()
findingSource : text
}
class ActivityReportObjectiveCourses{
* id : integer : <generated>
* activityReportObjectiveId : integer : REFERENCES "ActivityReportObjectives".id
* courseId : integer : REFERENCES "Courses".id
* createdAt : timestamp with time zone : now()
* updatedAt : timestamp with time zone : now()
}
class ActivityReportObjectiveFiles{
* id : integer : <generated>
* activityReportObjectiveId : integer : REFERENCES "ActivityReportObjectives".id
* fileId : integer : REFERENCES "Files".id
* createdAt : timestamp with time zone
* updatedAt : timestamp with time zone
}
class ActivityReportObjectiveResources{
* id : integer : <generated>
* activityReportObjectiveId : integer : REFERENCES "ActivityReportObjectives".id
* resourceId : integer : REFERENCES "Resources".id
* createdAt : timestamp with time zone
* updatedAt : timestamp with time zone
sourceFields : enum[]
}
enum enum_ActivityReportObjectiveResources_sourceFields {
resource
title
ttaProvided
}
enum_ActivityReportObjectiveResources_sourceFields <|-- ActivityReportObjectiveResources
class ActivityReportObjectiveTopics{
* id : integer : <generated>
* activityReportObjectiveId : integer : REFERENCES "ActivityReportObjectives".id
* topicId : integer : REFERENCES "Topics".id
* createdAt : timestamp with time zone
* updatedAt : timestamp with time zone
}
class ActivityReportObjectives{
* id : integer : <generated>
originalObjectiveId : integer : REFERENCES "Objectives".id
* activityReportId : integer : REFERENCES "ActivityReports".id
* objectiveId : integer : REFERENCES "Objectives".id
* createdAt : timestamp with time zone : now()
* updatedAt : timestamp with time zone : now()
arOrder : integer : 1
closeSuspendContext : text
closeSuspendReason : enum
objectiveCreatedHere : boolean
status : varchar(255)
supportType : enum
title : text
ttaProvided : text
useFiles : boolean : false
useIpdCourses : boolean : false
}
class ActivityReportResources{
* id : integer : <generated>
* activityReportId : integer : REFERENCES "ActivityReports".id
* resourceId : integer : REFERENCES "Resources".id
* createdAt : timestamp with time zone
* updatedAt : timestamp with time zone
sourceFields : enum[]
}
enum enum_ActivityReportResources_sourceFields {
ECLKCResourcesUsed
additionalNotes
context
nonECLKCResourcesUsed
resource
}
enum_ActivityReportResources_sourceFields <|-- ActivityReportResources
class ActivityReports{
* id : integer : <generated>
lastUpdatedById : integer : REFERENCES "Users".id
userId : integer : REFERENCES "Users".id
* regionId : integer : REFERENCES "Regions".id
* createdAt : timestamp with time zone : now()
* revision : integer : 0
* updatedAt : timestamp with time zone : now()
* version : integer : 2
activityReason : varchar(255)
activityRecipientType : varchar(255)
additionalNotes : text
approvedAt : timestamp with time zone
approvedAtTimezone : varchar(255)
calculatedStatus : enum
context : text
creatorRole : enum
deliveryMethod : varchar(255)
duration : decimal(3,1)
ECLKCResourcesUsed : text[]
endDate : date
imported : jsonb
language : varchar(255)[]
legacyId : varchar(255)
nonECLKCResourcesUsed : text[]
numberOfParticipants : integer
numberOfParticipantsInPerson : integer
numberOfParticipantsVirtually : integer
pageState : json
participants : varchar(255)[]
programTypes : varchar(255)[]
reason : varchar(255)[]
requester : varchar(255)
startDate : date
submissionStatus : enum
submittedDate : date
targetPopulations : varchar(255)[]
topics : varchar(255)[]
ttaType : varchar(255)[]
virtualDeliveryType : varchar(255)
}
class Citations{
* id : integer : <generated>
findingCategoryId : integer : REFERENCES "FindingCategories".id
* createdAt : timestamp with time zone : now()
* finding_uuid : text
* mfid : integer
* updatedAt : timestamp with time zone : now()
active : boolean
active_through : date
calculated_category : text
calculated_finding_type : text
calculated_status : text
citation : text
closed_date : date
deletedAt : timestamp with time zone
finding_deadline : date
guidance_category : text
initial_determination : text
initial_narrative : text
initial_report_delivery_date : date
initial_review_uuid : text
last_review_delivered : boolean
latest_determination : text
latest_goal_closure : timestamp with time zone
latest_narrative : text
latest_report_delivery_date : date
latest_review_uuid : text
raw_finding_type : text
raw_status : text
reported_date : date
source_category : text
standard_id : integer
standard_text : text
}
class CollabReportActivityStates{
* id : integer : <generated>
* collabReportId : integer : REFERENCES "CollabReports".id
* activityStateCode : varchar(255)
* createdAt : timestamp with time zone
* updatedAt : timestamp with time zone
deletedAt : timestamp with time zone
}
class CollabReportApprovers{
* id : integer : <generated>
* collabReportId : integer : REFERENCES "CollabReports".id
* userId : integer : REFERENCES "Users".id
* createdAt : timestamp with time zone
* updatedAt : timestamp with time zone
deletedAt : timestamp with time zone
note : text
status : enum
}
class CollabReportDataUsed{
* id : integer : <generated>
* collabReportId : integer : REFERENCES "CollabReports".id
* collabReportDatum : enum
* createdAt : timestamp with time zone
* updatedAt : timestamp with time zone
deletedAt : timestamp with time zone
}
class CollabReportGoals{
* id : integer : <generated>
* collabReportId : integer : REFERENCES "CollabReports".id
* goalTemplateId : integer : REFERENCES "GoalTemplates".id
* createdAt : timestamp with time zone
* updatedAt : timestamp with time zone
deletedAt : timestamp with time zone
}
class CollabReportReasons{
* id : integer : <generated>
* collabReportId : integer : REFERENCES "CollabReports".id
* createdAt : timestamp with time zone
* reasonId : enum
* updatedAt : timestamp with time zone
deletedAt : timestamp with time zone
}
class CollabReportSpecialists{
* id : integer : <generated>
* collabReportId : integer : REFERENCES "CollabReports".id
* specialistId : integer : REFERENCES "Users".id
* createdAt : timestamp with time zone
* updatedAt : timestamp with time zone
deletedAt : timestamp with time zone
}
class CollabReportSteps{
* id : integer : <generated>
* collabReportId : integer : REFERENCES "CollabReports".id
* collabStepDetail : text
* createdAt : timestamp with time zone
* updatedAt : timestamp with time zone
collabStepCompleteDate : date
deletedAt : timestamp with time zone
}
class CollabReports{
* id : integer : <generated>
lastUpdatedById : integer : REFERENCES "Users".id
* regionId : integer : REFERENCES "Regions".id
* userId : integer : REFERENCES "Users".id
* userId : integer : REFERENCES "Users".id
* createdAt : timestamp with time zone
* submissionStatus : enum
* updatedAt : timestamp with time zone
calculatedStatus : enum
conductMethod : enum
deletedAt : timestamp with time zone
description : text
duration : double precision
endDate : date
hasDataUsed : boolean
hasGoals : boolean
isStateActivity : boolean
name : varchar(255)
otherDataUsed : text
otherParticipants : text
participants : varchar(255)[]
startDate : date
submittedAt : timestamp with time zone
}
class CollaboratorRoles{
* id : integer : <generated>
* activityReportCollaboratorId : integer : REFERENCES "ActivityReportCollaborators".id
* roleId : integer : REFERENCES "Roles".id
* createdAt : timestamp with time zone
* updatedAt : timestamp with time zone
}
class CollaboratorTypes{
* id : integer : <generated>
mapsTo : integer : REFERENCES "CollaboratorTypes".id
* validForId : integer : REFERENCES "ValidFor".id
* createdAt : timestamp with time zone : now()
* name : varchar(255)
* propagateOnMerge : boolean : true
* updatedAt : timestamp with time zone : now()
deletedAt : timestamp with time zone
}
class CommunicationLogFiles{
* id : integer : <generated>
* communicationLogId : integer : REFERENCES "CommunicationLogs".id
* fileId : integer : REFERENCES "Files".id
* createdAt : timestamp with time zone
* updatedAt : timestamp with time zone
}
class CommunicationLogRecipients{
* id : integer : <generated>
* communicationLogId : integer : REFERENCES "CommunicationLogs".id
* recipientId : integer : REFERENCES "Recipients".id
* createdAt : timestamp with time zone : now()
* updatedAt : timestamp with time zone : now()
}
class CommunicationLogs{
* id : integer : <generated>
* userId : integer : REFERENCES "Users".id
* createdAt : timestamp with time zone
* data : jsonb
* updatedAt : timestamp with time zone
}
class Courses{
* id : integer : <generated>
mapsTo : integer : REFERENCES "Courses".id
* createdAt : timestamp with time zone : now()
* name : text
* persistsOnUpload : boolean : false
* updatedAt : timestamp with time zone : now()
deletedAt : timestamp with time zone
}
class DeliveredReviewCitations{
* id : integer : <generated>
* citationId : integer : REFERENCES "Citations".id
* deliveredReviewId : integer : REFERENCES "DeliveredReviews".id
* createdAt : timestamp with time zone : now()
* updatedAt : timestamp with time zone : now()
calculated_review_finding_type : text
determination : text
latest_review_end : date
latest_review_start : date
}
class DeliveredReviews{
* id : integer : <generated>
* createdAt : timestamp with time zone : now()
* mrid : integer
* updatedAt : timestamp with time zone : now()
class_co : decimal(5,4)
class_es : decimal(5,4)
class_is : decimal(5,4)
complete : boolean
complete_date : date
corrected : boolean
deletedAt : timestamp with time zone
outcome : text
report_delivery_date : date
report_end_date : date
report_start_date : date
review_name : text
review_status : text
review_type : text
review_uuid : text
}
class EventReportPilotNationalCenterUsers{
* id : integer : <generated>
* eventReportPilotId : integer : REFERENCES "EventReportPilots".id
* nationalCenterId : integer : REFERENCES "NationalCenters".id
* userId : integer : REFERENCES "Users".id
* createdAt : timestamp with time zone : now()
* nationalCenterName : varchar(255)
* updatedAt : timestamp with time zone : now()
* userName : varchar(255)
}
class EventReportPilots{
* id : integer : <generated>
* collaboratorIds : integer[]
* createdAt : timestamp with time zone : CURRENT_TIMESTAMP
* data : jsonb
* ownerId : integer
* regionId : integer
* updatedAt : timestamp with time zone : CURRENT_TIMESTAMP
imported : jsonb
pocIds : integer[]
version : integer
}
class Files{
* id : integer : <generated>
* createdAt : timestamp with time zone
* fileSize : integer
* key : varchar(255)
* originalFileName : varchar(255)
* status : enum
* updatedAt : timestamp with time zone
}
class FindingCategories{
* id : integer : <generated>
* createdAt : timestamp with time zone : now()
* name : text
* updatedAt : timestamp with time zone : now()
deletedAt : timestamp with time zone
}
class GoalCollaborators{
* id : integer : <generated>
* collaboratorTypeId : integer : REFERENCES "CollaboratorTypes".id
* goalId : integer : REFERENCES "Goals".id
* userId : integer : REFERENCES "Users".id
* createdAt : timestamp with time zone : now()
* updatedAt : timestamp with time zone : now()
deletedAt : timestamp with time zone
linkBack : jsonb
}
class GoalFieldResponses{
* id : integer : <generated>
* goalId : integer : REFERENCES "Goals".id
* goalTemplateFieldPromptId : integer : REFERENCES "GoalTemplateFieldPrompts".id
* createdAt : timestamp with time zone
* onApprovedAR : boolean
* onAR : boolean
* updatedAt : timestamp with time zone
response : text[]
}
class GoalResources{
* id : integer : <generated>
* goalId : integer : REFERENCES "Goals".id
* resourceId : integer : REFERENCES "Resources".id
* createdAt : timestamp with time zone
* onApprovedAR : boolean : false
* onAR : boolean : false
* updatedAt : timestamp with time zone
sourceFields : enum[]
}
enum enum_GoalResources_sourceFields {
name
resource
timeframe
}
enum_GoalResources_sourceFields <|-- GoalResources
class GoalStatusChanges{
* id : integer : <generated>
userId : integer : REFERENCES "Users".id
* goalId : integer : REFERENCES "Goals".id
* createdAt : timestamp with time zone : now()
* updatedAt : timestamp with time zone : now()
context : text
newStatus : varchar(255)
oldStatus : varchar(255)
performedAt : timestamp with time zone
reason : text
userName : varchar(255)
userRoles : varchar(255)[]
}
class GoalTemplateFieldPrompts{
* id : integer : <generated>
* goalTemplateId : integer : REFERENCES "GoalTemplates".id
* createdAt : timestamp with time zone
* ordinal : integer
* prompt : text
* title : text
* updatedAt : timestamp with time zone
caution : text
fieldType : enum
hint : text
options : text[]
validations : json
}
class GoalTemplateObjectiveTemplates{
* id : integer : <generated>
* goalTemplateId : integer : REFERENCES "GoalTemplates".id
* objectiveTemplateId : integer : REFERENCES "ObjectiveTemplates".id
* createdAt : timestamp with time zone
* updatedAt : timestamp with time zone
}
class GoalTemplateResources{
* id : integer : <generated>
* goalTemplateId : integer : REFERENCES "GoalTemplates".id
* resourceId : integer : REFERENCES "Resources".id
* createdAt : timestamp with time zone
* updatedAt : timestamp with time zone
sourceFields : enum[]
}
enum enum_GoalTemplateResources_sourceFields {
name
resource
}
enum_GoalTemplateResources_sourceFields <|-- GoalTemplateResources
class GoalTemplates{
* id : integer : <generated>
regionId : integer : REFERENCES "Regions".id
* createdAt : timestamp with time zone
* creationMethod : enum
* hash : text
* templateName : text
* templateNameModifiedAt : timestamp with time zone
* updatedAt : timestamp with time zone
deletedAt : timestamp with time zone
lastUsed : timestamp with time zone
source : varchar(255)
standard : text
}
class Goals{
* id : integer : <generated>
goalTemplateId : integer : REFERENCES "GoalTemplates".id
mapsToParentGoalId : integer : REFERENCES "Goals".id
* grantId : integer : REFERENCES "Grants".id
* createdAt : timestamp with time zone
* onApprovedAR : boolean : false
* onAR : boolean : false
* prestandard : boolean : false
* updatedAt : timestamp with time zone
createdVia : enum
deletedAt : timestamp with time zone
endDate : date
isFromSmartsheetTtaPlan : boolean
isRttapa : enum
name : text
rtrOrder : integer : 1
source : enum
status : varchar(255)
timeframe : text
}
class GrantCitations{
* id : integer : <generated>
* citationId : integer : REFERENCES "Citations".id
* grantId : integer : REFERENCES "Grants".id
* createdAt : timestamp with time zone : now()
* updatedAt : timestamp with time zone : now()
recipient_id : integer
recipient_name : text
region_id : integer
}
class GrantDeliveredReviews{
* id : integer : <generated>
* deliveredReviewId : integer : REFERENCES "DeliveredReviews".id
* grantId : integer : REFERENCES "Grants".id
* createdAt : timestamp with time zone : now()
* updatedAt : timestamp with time zone : now()
recipient_id : integer
recipient_name : text
region_id : integer
}
class GrantNumberLinks{
* id : integer : <generated>
grantId : integer : REFERENCES "Grants".id
* createdAt : timestamp with time zone
* grantNumber : text
* updatedAt : timestamp with time zone
deletedAt : timestamp with time zone
}
class GrantReplacementTypes{
* id : integer : <generated>
mapsTo : integer : REFERENCES "GrantReplacementTypes".id
* createdAt : timestamp with time zone : now()
* name : text
* updatedAt : timestamp with time zone : now()
deletedAt : timestamp with time zone
}
class GrantReplacements{
* id : integer : <generated>
grantReplacementTypeId : integer : REFERENCES "GrantReplacementTypes".id
* replacedGrantId : integer : REFERENCES "Grants".id
* replacingGrantId : integer : REFERENCES "Grants".id
* createdAt : timestamp with time zone : now()
* updatedAt : timestamp with time zone : now()
replacementDate : date
}
class Grants{
* id : integer
regionId : integer : REFERENCES "Regions".id
* recipientId : integer : REFERENCES "Recipients".id
* createdAt : timestamp with time zone : now()
* number : varchar(255)
* updatedAt : timestamp with time zone : now()
annualFundingMonth : varchar(255)
cdi : boolean : false
deleted : boolean : false
endDate : timestamp with time zone
geographicRegion : varchar(255)
geographicRegionId : integer
granteeName : varchar(255)
grantSpecialistEmail : varchar(255)
grantSpecialistName : varchar(255)
inactivationDate : timestamp with time zone
inactivationReason : enum
latestMonitoringReviewDate : date
latestMonitoringReviewOutcome : text
latestMonitoringReviewType : text
programSpecialistEmail : varchar(255)
programSpecialistName : varchar(255)
startDate : timestamp with time zone
stateCode : varchar(255)
status : varchar(255)
}
class GroupCollaborators{
* id : integer : <generated>
* collaboratorTypeId : integer : REFERENCES "CollaboratorTypes".id
* groupId : integer : REFERENCES "Groups".id
* userId : integer : REFERENCES "Users".id
* createdAt : timestamp with time zone : now()
* updatedAt : timestamp with time zone : now()
deletedAt : timestamp with time zone
linkBack : jsonb
}
class GroupGrants{
* id : integer : <generated>
* grantId : integer : REFERENCES "Grants".id
* groupId : integer : REFERENCES "Groups".id
* createdAt : timestamp with time zone
* updatedAt : timestamp with time zone
}
class Groups{
* id : integer : <generated>
* createdAt : timestamp with time zone
* name : text
* updatedAt : timestamp with time zone
isPublic : boolean
sharedWith : enum
}
class ImportDataFiles{
* id : integer : <generated>
* importFileId : integer : REFERENCES "ImportFiles".id
* createdAt : timestamp with time zone
* status : enum : 'IDENTIFIED'::"enum_ImportDataFiles_status"
* updatedAt : timestamp with time zone
fileInfo : jsonb
hash : text
recordCounts : jsonb
schema : jsonb
}
class ImportFiles{
* id : integer : <generated>
fileId : integer : REFERENCES "Files".id
* importId : integer : REFERENCES "Imports".id
* createdAt : timestamp with time zone
* downloadAttempts : integer : 0
* processAttempts : integer : 0
* status : enum : 'IDENTIFIED'::"enum_ImportFiles_status"
* updatedAt : timestamp with time zone
ftpFileInfo : jsonb
hash : text
}
class Imports{
* id : integer : <generated>
* createdAt : timestamp with time zone
* definitions : jsonb
* enabled : boolean : false
* ftpSettings : jsonb
* name : text
* schedule : text
* updatedAt : timestamp with time zone
fileMask : text
path : text
postProcessingActions : jsonb
}
class MailerLogs{
* id : bigint : <generated>
* action : enum
* activityReports : integer[]
* createdAt : timestamp with time zone : now()
* emailTo : varchar(255)[]
* jobId : varchar(255)
* subject : varchar(255)
* updatedAt : timestamp with time zone : now()
result : json
success : boolean
}
class MaintenanceLogs{
* id : bigint : <generated>
triggeredById : bigint : REFERENCES "MaintenanceLogs".id
* category : enum
* createdAt : timestamp with time zone
* data : json
* type : enum
* updatedAt : timestamp with time zone
isSuccessful : boolean
}
class MonitoringClassSummaries{
* id : integer : <generated>
* grantNumber : text : REFERENCES "GrantNumberLinks"."grantNumber"
* reviewId : text : REFERENCES "MonitoringReviewLinks"."reviewId"
* createdAt : timestamp with time zone
* sourceCreatedAt : timestamp with time zone
* sourceUpdatedAt : timestamp with time zone
* updatedAt : timestamp with time zone
classroomOrganization : decimal(5,4)
deletedAt : timestamp with time zone
emotionalSupport : decimal(5,4)
hash : text
instructionalSupport : decimal(5,4)
reportDeliveryDate : timestamp with time zone
sourceDeletedAt : timestamp with time zone
}
class MonitoringFindingGrants{
* id : integer : <generated>
* findingId : text : REFERENCES "MonitoringFindingLinks"."findingId"
* granteeId : text : REFERENCES "MonitoringGranteeLinks"."granteeId"
* statusId : integer : REFERENCES "MonitoringFindingStatusLinks"."statusId"
* createdAt : timestamp with time zone
* findingType : text
* hash : text
* sourceCreatedAt : timestamp with time zone
* sourceUpdatedAt : timestamp with time zone
* updatedAt : timestamp with time zone
closedDate : timestamp with time zone
correctionDeadLine : timestamp with time zone
deletedAt : timestamp with time zone
reportedDate : timestamp with time zone
source : text
sourceDeletedAt : timestamp with time zone
}
class MonitoringFindingHistories{
* id : integer : <generated>
findingId : text : REFERENCES "MonitoringFindingLinks"."findingId"
statusId : integer : REFERENCES "MonitoringFindingHistoryStatusLinks"."statusId"
* reviewId : text : REFERENCES "MonitoringReviewLinks"."reviewId"
* createdAt : timestamp with time zone
* findingHistoryId : text
* sourceCreatedAt : timestamp with time zone
* sourceUpdatedAt : timestamp with time zone
* updatedAt : timestamp with time zone
deletedAt : timestamp with time zone
determination : text
hash : text
narrative : text
ordinal : integer
sourceDeletedAt : timestamp with time zone
}
class MonitoringFindingHistoryStatusLinks{
* id : integer : <generated>
* createdAt : timestamp with time zone
* statusId : integer
* updatedAt : timestamp with time zone
deletedAt : timestamp with time zone
}
class MonitoringFindingHistoryStatuses{
* id : integer : <generated>
* statusId : integer : REFERENCES "MonitoringFindingHistoryStatusLinks"."statusId"
* createdAt : timestamp with time zone
* name : text
* sourceCreatedAt : timestamp with time zone
* sourceUpdatedAt : timestamp with time zone
* updatedAt : timestamp with time zone
deletedAt : timestamp with time zone
sourceDeletedAt : timestamp with time zone
}
class MonitoringFindingLinks{
* id : integer : <generated>
* createdAt : timestamp with time zone
* findingId : text
* updatedAt : timestamp with time zone
deletedAt : timestamp with time zone
}
class MonitoringFindingStandards{
* id : integer : <generated>
* findingId : text : REFERENCES "MonitoringFindingLinks"."findingId"
* standardId : integer : REFERENCES "MonitoringStandardLinks"."standardId"
* createdAt : timestamp with time zone
* sourceCreatedAt : timestamp with time zone
* sourceUpdatedAt : timestamp with time zone
* updatedAt : timestamp with time zone
deletedAt : timestamp with time zone
sourceDeletedAt : timestamp with time zone
}
class MonitoringFindingStatusLinks{
* id : integer : <generated>
* createdAt : timestamp with time zone
* statusId : integer
* updatedAt : timestamp with time zone
deletedAt : timestamp with time zone
}
class MonitoringFindingStatuses{
* id : integer : <generated>
* statusId : integer : REFERENCES "MonitoringFindingStatusLinks"."statusId"
* createdAt : timestamp with time zone
* name : text
* sourceCreatedAt : timestamp with time zone
* sourceUpdatedAt : timestamp with time zone
* updatedAt : timestamp with time zone
deletedAt : timestamp with time zone
sourceDeletedAt : timestamp with time zone
}
class MonitoringFindings{
* id : integer : <generated>
* findingId : text : REFERENCES "MonitoringFindingLinks"."findingId"
* statusId : integer : REFERENCES "MonitoringFindingStatusLinks"."statusId"
* createdAt : timestamp with time zone
* findingType : text
* hash : text
* sourceCreatedAt : timestamp with time zone
* sourceUpdatedAt : timestamp with time zone
* updatedAt : timestamp with time zone
closedDate : timestamp with time zone
correctionDeadLine : timestamp with time zone
deletedAt : timestamp with time zone
reportedDate : timestamp with time zone
source : text
sourceDeletedAt : timestamp with time zone
}
class MonitoringGranteeLinks{
* id : integer : <generated>
* createdAt : timestamp with time zone
* granteeId : text
* updatedAt : timestamp with time zone
deletedAt : timestamp with time zone
}
class MonitoringReviewGrantees{
* id : integer : <generated>
* granteeId : text : REFERENCES "MonitoringGranteeLinks"."granteeId"
* grantNumber : text : REFERENCES "GrantNumberLinks"."grantNumber"
* reviewId : text : REFERENCES "MonitoringReviewLinks"."reviewId"
* createdAt : timestamp with time zone
* createTime : timestamp with time zone
* sourceCreatedAt : timestamp with time zone
* sourceUpdatedAt : timestamp with time zone
* updateBy : text
* updatedAt : timestamp with time zone
* updateTime : timestamp with time zone
deletedAt : timestamp with time zone
sourceDeletedAt : timestamp with time zone
}
class MonitoringReviewLinks{
* id : integer : <generated>
* createdAt : timestamp with time zone
* reviewId : text
* updatedAt : timestamp with time zone
deletedAt : timestamp with time zone
}
class MonitoringReviewStatusLinks{
* id : integer : <generated>
* createdAt : timestamp with time zone
* statusId : integer
* updatedAt : timestamp with time zone
deletedAt : timestamp with time zone
}
class MonitoringReviewStatuses{
* id : integer : <generated>
* statusId : integer : REFERENCES "MonitoringReviewStatusLinks"."statusId"
* createdAt : timestamp with time zone
* name : text
* sourceCreatedAt : timestamp with time zone
* sourceUpdatedAt : timestamp with time zone
* updatedAt : timestamp with time zone
deletedAt : timestamp with time zone
sourceDeletedAt : timestamp with time zone
}
class MonitoringReviews{
* id : integer : <generated>
* reviewId : text : REFERENCES "MonitoringReviewLinks"."reviewId"
* statusId : integer : REFERENCES "MonitoringReviewStatusLinks"."statusId"
* contentId : text
* createdAt : timestamp with time zone
* sourceCreatedAt : timestamp with time zone
* sourceUpdatedAt : timestamp with time zone
* updatedAt : timestamp with time zone
deletedAt : timestamp with time zone
endDate : date
hash : text
name : text
outcome : text
reportAttachmentId : text
reportDeliveryDate : timestamp with time zone
reviewType : text
sourceDeletedAt : timestamp with time zone
startDate : date
}
class MonitoringStandardLinks{
* id : integer : <generated>
* createdAt : timestamp with time zone
* standardId : integer
* updatedAt : timestamp with time zone
deletedAt : timestamp with time zone
}