Remove user_local_pref

This commit is contained in:
Dany De Bontridder 2018-02-10 22:53:09 +01:00
parent dc31fdfd06
commit 3609ac3107
4 changed files with 9 additions and 4 deletions

View file

@ -6,6 +6,9 @@
export TEMPLATE=${DOMAIN}mod1
psql -X $TEMPLATE -c "delete from user_local_pref"
psql -X $TEMPLATE -c "delete from user_local_pref"
pg_dump -O -U dany -s $TEMPLATE|grep -v "COMMENT ON SCHEMA public IS 'Standard public schema';" |sed "/^--/d" > schema.sql
sed -i -e "/COMMENT ON EXTENSION/d" schema.sql
sed -i -e "/CREATE EXTENSION/d" schema.sql