7 ms·
I do this, easy to implement, and it works pretty well - dropdb $PGDATABASE || true createdb -T template0 $PGDATABASE pg_dump $DUMP_DATABASE | psql -q $P
by devxpy 6y ago
I do this, easy to implement, and it works pretty well -
dropdb $PGDATABASE || true
createdb -T template0 $PGDATABASE
pg_dump $DUMP_DATABASE | psql -q $PGDATABASE
- devxpy 6y agowhoa, am i doing something wrong? please share thoughts