]> git.ipfire.org Git - pbs.git/commitdiff
db: Fix remaining index names
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 20 Sep 2023 14:02:09 +0000 (14:02 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 20 Sep 2023 14:02:09 +0000 (14:02 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/database.sql

index b15aa5ef9522ab3c85ceb67a5b8838ee12a5ce53..9aa58164d86e2eef4b4c73df28c1e9d50f1e43f7 100644 (file)
@@ -1370,11 +1370,11 @@ ALTER TABLE ONLY public.builders
 
 
 --
--- Name: images_types idx_2198057_primary; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: images_types image_types_pkey; Type: CONSTRAINT; Schema: public; Owner: -
 --
 
 ALTER TABLE ONLY public.images_types
-    ADD CONSTRAINT idx_2198057_primary PRIMARY KEY (id);
+    ADD CONSTRAINT image_types_pkey PRIMARY KEY (id);
 
 
 --
@@ -1655,13 +1655,6 @@ CREATE UNIQUE INDEX builds_uuid ON public.builds USING btree (uuid) WHERE (delet
 CREATE UNIQUE INDEX distributions_unique ON public.distributions USING btree (distro_id, version_id) WHERE (deleted IS FALSE);
 
 
---
--- Name: idx_2198199_k; Type: INDEX; Schema: public; Owner: -
---
-
-CREATE UNIQUE INDEX idx_2198199_k ON public.settings USING btree (k);
-
-
 --
 -- Name: job_packages_job_id; Type: INDEX; Schema: public; Owner: -
 --
@@ -1844,6 +1837,13 @@ CREATE INDEX repository_builds_repo_id ON public.repository_builds USING btree (
 CREATE UNIQUE INDEX repository_builds_unique ON public.repository_builds USING btree (repo_id, build_id) WHERE (removed_at IS NULL);
 
 
+--
+-- Name: settings_k; Type: INDEX; Schema: public; Owner: -
+--
+
+CREATE UNIQUE INDEX settings_k ON public.settings USING btree (k);
+
+
 --
 -- Name: source_commit_jobs_commit_id; Type: INDEX; Schema: public; Owner: -
 --