Docker-Fix: DB-Init bricht bei CREATE SCHEMA public nicht mehr ab, Port 5433 statt 5432

This commit is contained in:
2026-07-17 18:52:49 +02:00
parent 8dd6ba236e
commit b499708a8f
4 changed files with 21 additions and 9 deletions
+4 -5
View File
@@ -2,8 +2,6 @@
-- PostgreSQL database dump
--
\restrict 0Sx6NoZQaGnfPJIJyJfoBWP8AEmM74wz3Ic4g8Y4DFplRk7HfQrhCEYG288Lc2B
-- Dumped from database version 17.6
-- Dumped by pg_dump version 17.10
@@ -23,7 +21,10 @@ SET row_security = off;
-- Name: public; Type: SCHEMA; Schema: -; Owner: -
--
CREATE SCHEMA public;
-- Das "public"-Schema existiert im offiziellen postgres-Image bereits;
-- CREATE SCHEMA würde dort mit ON_ERROR_STOP=1 das komplette Init-Skript
-- abbrechen.
CREATE SCHEMA IF NOT EXISTS public;
--
@@ -412,5 +413,3 @@ CREATE POLICY settings_public_read ON public.settings FOR SELECT TO authenticate
-- PostgreSQL database dump complete
--
\unrestrict 0Sx6NoZQaGnfPJIJyJfoBWP8AEmM74wz3Ic4g8Y4DFplRk7HfQrhCEYG288Lc2B