]> git.ipfire.org Git - people/jschlag/pbs.git/commitdiff
db: Drop unused view
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 30 Oct 2017 10:01:34 +0000 (10:01 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 30 Oct 2017 10:01:34 +0000 (10:01 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/database.sql

index 92ac3654c21500cab30ff88f52a4454ad2a7ae61..eff0670fe03055c33a4384f09fef8edfdea7776a 100644 (file)
@@ -801,30 +801,6 @@ ALTER TABLE images_types_id_seq OWNER TO pakfire;
 ALTER SEQUENCE images_types_id_seq OWNED BY images_types.id;
 
 
---
--- Name: jobs_active; Type: VIEW; Schema: public; Owner: pakfire
---
-
-CREATE VIEW jobs_active AS
- SELECT jobs.id,
-    jobs.uuid,
-    jobs.build_id,
-    jobs.state,
-    jobs.arch,
-    jobs.time_created,
-    jobs.time_started,
-    jobs.time_finished,
-    jobs.start_not_before,
-    jobs.builder_id,
-    jobs.aborted_state,
-    jobs.message
-   FROM jobs
-  WHERE (jobs.state = ANY (ARRAY['dispatching'::jobs_state, 'running'::jobs_state, 'uploading'::jobs_state]))
-  ORDER BY jobs.time_started;
-
-
-ALTER TABLE jobs_active OWNER TO pakfire;
-
 --
 -- Name: jobs_buildroots; Type: TABLE; Schema: public; Owner: pakfire; Tablespace: 
 --