-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
- Create a new table named job_executions with the below database schema
| Column Name | Data Type |
|---|---|
| id | uuid |
| requestor_id | integer |
| job_id | uuid |
| requestor_comments | varchar |
| arguments | json |
| status | integer |
| reason_for_failure | varchar |
| auto_execute_on_approval | boolean |
| run_at | timestamp |
| execution_started_at | timestamp |
| created_at | timestamp |
| updated_at | timestamp |
- Create a new model for the JobExecution and add required validations on the model
- The
statushas to be declared as Enum and below can be the status
- Requested
- Approved
- Rejected
- Executed
- Cancelled
- Succeeded
- Failed -
requestor_commentsis a mandatory field - Once the job execution is created the status to be marked as
requestedautomatically - Implement the
index,editandshowactions forjob_executions
Metadata
Metadata
Assignees
Labels
No labels