ci: enable citext on db without schema
This commit is contained in:
parent
58844720b6
commit
a1185a8eeb
|
@ -7,8 +7,8 @@ dropdb -U django --if-exists ietf
|
|||
echo "Create new ietf DB..."
|
||||
createdb -U django ietf
|
||||
|
||||
echo "Enable citext extension on public schema..."
|
||||
psql -U django -d ietf -v ON_ERROR_STOP=1 -c '\x' -c 'CREATE EXTENSION IF NOT EXISTS citext WITH SCHEMA public;'
|
||||
echo "Enable citext extension..."
|
||||
psql -U django -d ietf -v ON_ERROR_STOP=1 -c '\x' -c 'CREATE EXTENSION IF NOT EXISTS citext;'
|
||||
|
||||
echo "Set schema search path for user django..."
|
||||
psql -U django -d ietf -v ON_ERROR_STOP=1 -c '\x' -c 'ALTER USER django set search_path=ietf_utf8,django,public;'
|
||||
|
|
Loading…
Reference in a new issue