Traffic Light That Never Sleeps - #762
Conversation
Code Review Comments
Please make the necessary adjustments as indicated above. |
| signal_id NUMBER GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY, | ||
| signal_name VARCHAR2(100) NOT NULL, | ||
| state VARCHAR2(10) DEFAULT 'RED' NOT NULL | ||
| CONSTRAINT ck_signal_state CHECK (state IN ('RED','YELLOW','GREEN')), |
There was a problem hiding this comment.
any specific reason for adding this constraint ?
There was a problem hiding this comment.
Actually, I copied it from the ticket from clickup; it was in the table. and its use for Enforce for specific words 'RED','YELLOW','GREEN' only
|
|
||
|
|
||
| -- connect with an account that has SYSTEM privileges | ||
| GRANT CREATE JOB TO SYSTEM; |
There was a problem hiding this comment.
does this allow SYSTEM to be able to schedule a job ?
There was a problem hiding this comment.
Yes, exactly, it gives the SYSTEM account direct permission to create scheduler jobs, which fixes this error: insufficient privileges at (insufficient privileges). This error means the SYSTEM account did not have enough privileges.
|
Here are the code review comments for the pull request titled Traffic Light That Never Sleeps: Code Review Comments
|
|
I reviewed the provided pull request details and issues, formulated a summary of key code review comments, and prepared to communicate those findings to the user for their action. However, no tool calls were made for further processing or action. |



No description provided.