Fix incorrect psql statements
This commit is contained in:
parent
cb08c1c46b
commit
cdb7e6df7a
@ -53,8 +53,8 @@ if [ -d "var" ]; then
|
||||
rm -rf "$PLEROMA_DIR/var"
|
||||
fi
|
||||
# Drop and recreate our database
|
||||
sudo -Hu postgres psql -c 'DROP DATABASE <pleroma_db>;'
|
||||
sudo -Hu postgres psql -c 'CREATE DATABASE <pleroma_db>;'
|
||||
sudo -Hu postgres psql -c 'DROP DATABASE pleroma;'
|
||||
sudo -Hu postgres psql -c 'CREATE DATABASE pleroma;'
|
||||
sudo -Hu postgres pg_restore -d pleroma -v -1 db.pgdump
|
||||
sudo -Hu postgres vacuumdb --all --analyze-in-stages
|
||||
# FIRE IT UP
|
||||
|
Loading…
Reference in New Issue
Block a user