meltedchoco commited on
Commit
09ba47f
Β·
verified Β·
1 Parent(s): 90fbaf5

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +1 -1
entrypoint.sh CHANGED
@@ -19,7 +19,7 @@ pg_ctl start -l "${PGDATA}/postgres.log" \
19
  # ── Create user and database if they don't exist ─────────────────────
20
  if ! psql -h "${PGHOST}" -p "${PG_PORT}" -U sekai -d sekai -c '\q' 2>/dev/null; then
21
  echo "Creating sekai user and database..."
22
- psql -h "${PGHOST}" -p "${PG_PORT}" -d postgres -c "CREATE USER sekai;"
23
  psql -h "${PGHOST}" -p "${PG_PORT}" -d postgres -c "CREATE DATABASE sekai OWNER sekai;"
24
  fi
25
 
 
19
  # ── Create user and database if they don't exist ─────────────────────
20
  if ! psql -h "${PGHOST}" -p "${PG_PORT}" -U sekai -d sekai -c '\q' 2>/dev/null; then
21
  echo "Creating sekai user and database..."
22
+ # psql -h "${PGHOST}" -p "${PG_PORT}" -d postgres -c "CREATE USER sekai;"
23
  psql -h "${PGHOST}" -p "${PG_PORT}" -d postgres -c "CREATE DATABASE sekai OWNER sekai;"
24
  fi
25