Skip to content

Commit

Permalink
INTG-3307 - adding note to schedule occurence feed. (#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
sc-gv authored Jun 12, 2024
1 parent df2bfeb commit 350ee8a
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
8 changes: 4 additions & 4 deletions pkg/api/mocks/set_1/outputs/schedule_occurrences.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
id,schedule_id,occurrence_id,template_id,organisation_id,start_time,due_time,miss_time,occurrence_status,audit_id,completed_at,exported_at,user_id,assignee_status
scheduleitem_1_occurrence_1641027600000_user_1,scheduleitem_1,occurrence_1641027600000,template_1,role_123,--date--,--date--,--date--,TODO,,,--date--,user_1,TODO
scheduleitem_2_occurrence_1641027600000_user_2,scheduleitem_2,occurrence_1641027600000,template_2,role_123,--date--,--date--,--date--,TODO,,,--date--,user_2,TODO
scheduleitem_2_occurrence_1641027600000_user_3,scheduleitem_2,occurrence_1641027600000,template_2,role_123,--date--,--date--,,TODO,,,--date--,user_3,TODO
id,schedule_id,occurrence_id,template_id,organisation_id,start_time,due_time,miss_time,occurrence_status,audit_id,completed_at,exported_at,user_id,assignee_status,note
scheduleitem_1_occurrence_1641027600000_user_1,scheduleitem_1,occurrence_1641027600000,template_1,role_123,--date--,--date--,--date--,TODO,,,--date--,user_1,TODO,
scheduleitem_2_occurrence_1641027600000_user_2,scheduleitem_2,occurrence_1641027600000,template_2,role_123,--date--,--date--,--date--,TODO,,,--date--,user_2,TODO,
scheduleitem_2_occurrence_1641027600000_user_3,scheduleitem_2,occurrence_1641027600000,template_2,role_123,--date--,--date--,,TODO,,,--date--,user_3,TODO,
2 changes: 1 addition & 1 deletion pkg/api/mocks/set_1/schemas/schedule_occurrences.csv
Original file line number Diff line number Diff line change
@@ -1 +1 @@
id,schedule_id,occurrence_id,template_id,organisation_id,start_time,due_time,miss_time,occurrence_status,audit_id,completed_at,exported_at,user_id,assignee_status
id,schedule_id,occurrence_id,template_id,organisation_id,start_time,due_time,miss_time,occurrence_status,audit_id,completed_at,exported_at,user_id,assignee_status,note
8 changes: 4 additions & 4 deletions pkg/api/mocks/set_2/outputs/schedule_occurrences.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
id,schedule_id,occurrence_id,template_id,organisation_id,start_time,due_time,miss_time,occurrence_status,audit_id,completed_at,exported_at,user_id,assignee_status
scheduleitem_1_occurrence_1641027600000_user_1,scheduleitem_1,occurrence_1641027600000,template_1,role_123,--date--,--date--,--date--,TODO,,,--date--,user_1,TODO
scheduleitem_2_occurrence_1641027600000_user_2,scheduleitem_2,occurrence_1641027600000,template_2,role_123,--date--,--date--,--date--,TODO,,,--date--,user_2,TODO
scheduleitem_2_occurrence_1641027600000_user_3,scheduleitem_2,occurrence_1641027600000,template_2,role_123,--date--,--date--,,TODO,,,--date--,user_3,TODO
id,schedule_id,occurrence_id,template_id,organisation_id,start_time,due_time,miss_time,occurrence_status,audit_id,completed_at,exported_at,user_id,assignee_status,note
scheduleitem_1_occurrence_1641027600000_user_1,scheduleitem_1,occurrence_1641027600000,template_1,role_123,--date--,--date--,--date--,TODO,,,--date--,user_1,TODO,
scheduleitem_2_occurrence_1641027600000_user_2,scheduleitem_2,occurrence_1641027600000,template_2,role_123,--date--,--date--,--date--,TODO,,,--date--,user_2,TODO,
scheduleitem_2_occurrence_1641027600000_user_3,scheduleitem_2,occurrence_1641027600000,template_2,role_123,--date--,--date--,,TODO,,,--date--,user_3,TODO,
1 change: 1 addition & 0 deletions pkg/internal/feed/feed_schedule_occurrence.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ type ScheduleOccurrence struct {
ExportedAt time.Time `json:"exported_at" csv:"exported_at" gorm:"autoUpdateTime"`
UserID string `json:"user_id" csv:"user_id" gorm:"size:37"`
AssigneeStatus string `json:"assignee_status" csv:"assignee_status" gorm:"size:20"`
Note string `json:"note" csv:"note" gorm:"size:255"`
}

// ScheduleOccurrenceFeed is a representation of the schedule_occurrences feed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@
| exported_at | datetime | |
| user_id | TEXT | |
| assignee_status | TEXT | |
| note | TEXT | |
+-------------------+----------+-------------+

0 comments on commit 350ee8a

Please sign in to comment.