feat: add citext to default db template (#5069)
This commit is contained in:
parent
189018a879
commit
24bb789cd2
|
@ -9,6 +9,7 @@ ENV POSTGRES_DB=ietf
|
|||
ENV POSTGRES_HOST_AUTH_METHOD=trust
|
||||
ENV PGDATA=/data
|
||||
|
||||
COPY docker/scripts/db-load-default-extensions.sh /docker-entrypoint-initdb.d/
|
||||
COPY docker/scripts/db-pg-import.sh /docker-entrypoint-initdb.d/
|
||||
COPY ietf.dump /
|
||||
|
||||
|
|
5
docker/scripts/db-load-default-extensions.sh
Normal file
5
docker/scripts/db-load-default-extensions.sh
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
psql -U django -d template1 -v ON_ERROR_STOP=1 -c 'CREATE EXTENSION IF NOT EXISTS citext;'
|
||||
|
Loading…
Reference in a new issue