You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2018/05/17 17:21:57 UTC

[GitHub] dangogh closed pull request #2287: Added back the job_result create for fresh installs

dangogh closed pull request #2287: Added back the job_result create for fresh installs
URL: https://github.com/apache/incubator-trafficcontrol/pull/2287
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/traffic_ops/app/db/create_tables.sql b/traffic_ops/app/db/create_tables.sql
index 2c18b7fab..4a9df8523 100644
--- a/traffic_ops/app/db/create_tables.sql
+++ b/traffic_ops/app/db/create_tables.sql
@@ -567,6 +567,41 @@ ALTER TABLE job_id_seq OWNER TO traffic_ops;
 
 ALTER SEQUENCE job_id_seq OWNED BY job.id;
 
+--
+-- Name: job_result; Type: TABLE; Schema: public; Owner: traffic_ops
+--
+
+CREATE TABLE job_result (
+    id bigint NOT NULL,
+    job bigint NOT NULL,
+    agent bigint NOT NULL,
+    result text NOT NULL,
+    description text,
+    last_updated timestamp with time zone DEFAULT now()
+);
+
+
+ALTER TABLE job_result OWNER TO traffic_ops;
+
+--
+-- Name: job_result_id_seq; Type: SEQUENCE; Schema: public; Owner: traffic_ops
+--
+
+CREATE SEQUENCE job_result_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+
+ALTER TABLE job_result_id_seq OWNER TO traffic_ops;
+
+--
+-- Name: job_result_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: traffic_ops
+--
+
+ALTER SEQUENCE job_result_id_seq OWNED BY job_result.id;
 
 --
 -- Name: job_status; Type: TABLE; Schema: public; Owner: traffic_ops


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services