]> git.ipfire.org Git - people/jschlag/pbs.git/commitdiff
Database maintenance
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 8 Oct 2017 16:06:14 +0000 (17:06 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 8 Oct 2017 16:06:14 +0000 (17:06 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/database.sql

index b58dce580051aad8dd852d0ee0ad7b8687d0ab2d..12a0c71cacebc0653f2a0956e75d985dfb93e5b9 100644 (file)
@@ -37,66 +37,6 @@ CREATE TYPE arches_binary AS ENUM (
 
 ALTER TYPE arches_binary OWNER TO pakfire;
 
---
--- Name: builders_arches_enabled; Type: TYPE; Schema: public; Owner: pakfire
---
-
-CREATE TYPE builders_arches_enabled AS ENUM (
-    'Y',
-    'N'
-);
-
-
-ALTER TYPE builders_arches_enabled OWNER TO pakfire;
-
---
--- Name: builders_build_release; Type: TYPE; Schema: public; Owner: pakfire
---
-
-CREATE TYPE builders_build_release AS ENUM (
-    'Y',
-    'N'
-);
-
-
-ALTER TYPE builders_build_release OWNER TO pakfire;
-
---
--- Name: builders_build_scratch; Type: TYPE; Schema: public; Owner: pakfire
---
-
-CREATE TYPE builders_build_scratch AS ENUM (
-    'Y',
-    'N'
-);
-
-
-ALTER TYPE builders_build_scratch OWNER TO pakfire;
-
---
--- Name: builders_build_test; Type: TYPE; Schema: public; Owner: pakfire
---
-
-CREATE TYPE builders_build_test AS ENUM (
-    'Y',
-    'N'
-);
-
-
-ALTER TYPE builders_build_test OWNER TO pakfire;
-
---
--- Name: builders_deleted; Type: TYPE; Schema: public; Owner: pakfire
---
-
-CREATE TYPE builders_deleted AS ENUM (
-    'Y',
-    'N'
-);
-
-
-ALTER TYPE builders_deleted OWNER TO pakfire;
-
 --
 -- Name: builders_disabled; Type: TYPE; Schema: public; Owner: pakfire
 --
@@ -135,19 +75,6 @@ CREATE TYPE builders_overload AS ENUM (
 
 ALTER TYPE builders_overload OWNER TO pakfire;
 
---
--- Name: builders_status; Type: TYPE; Schema: public; Owner: pakfire
---
-
-CREATE TYPE builders_status AS ENUM (
-    'enabled',
-    'disabled',
-    'deleted'
-);
-
-
-ALTER TYPE builders_status OWNER TO pakfire;
-
 --
 -- Name: builds_auto_move; Type: TYPE; Schema: public; Owner: pakfire
 --
@@ -160,18 +87,6 @@ CREATE TYPE builds_auto_move AS ENUM (
 
 ALTER TYPE builds_auto_move OWNER TO pakfire;
 
---
--- Name: builds_bugs_updates_error; Type: TYPE; Schema: public; Owner: pakfire
---
-
-CREATE TYPE builds_bugs_updates_error AS ENUM (
-    'N',
-    'Y'
-);
-
-
-ALTER TYPE builds_bugs_updates_error OWNER TO pakfire;
-
 --
 -- Name: builds_history_action; Type: TYPE; Schema: public; Owner: pakfire
 --
@@ -321,19 +236,6 @@ CREATE TYPE jobs_type AS ENUM (
 
 ALTER TYPE jobs_type OWNER TO pakfire;
 
---
--- Name: mirrors_check_status; Type: TYPE; Schema: public; Owner: pakfire
---
-
-CREATE TYPE mirrors_check_status AS ENUM (
-    'UNKNOWN',
-    'UP',
-    'DOWN'
-);
-
-
-ALTER TYPE mirrors_check_status OWNER TO pakfire;
-
 --
 -- Name: mirrors_history_action; Type: TYPE; Schema: public; Owner: pakfire
 --
@@ -348,19 +250,6 @@ CREATE TYPE mirrors_history_action AS ENUM (
 
 ALTER TYPE mirrors_history_action OWNER TO pakfire;
 
---
--- Name: mirrors_status; Type: TYPE; Schema: public; Owner: pakfire
---
-
-CREATE TYPE mirrors_status AS ENUM (
-    'enabled',
-    'disabled',
-    'deleted'
-);
-
-
-ALTER TYPE mirrors_status OWNER TO pakfire;
-
 --
 -- Name: packages_deps_type; Type: TYPE; Schema: public; Owner: pakfire
 --
@@ -680,7 +569,6 @@ CREATE TABLE builders (
     enabled boolean DEFAULT false NOT NULL,
     deleted boolean DEFAULT false NOT NULL,
     loadavg text DEFAULT '0'::character varying NOT NULL,
-    arches text,
     testmode boolean DEFAULT true NOT NULL,
     max_jobs bigint DEFAULT 1::bigint NOT NULL,
     pakfire_version text,