Read about our upcoming Code of Conduct on this issue

Commit 4892a952 authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

heptapod_wipe_all_data_reseed: adapted to current `gdk psql`

The positional argument is not the database any more (as it is in
`psql`) but the user.

Note also that gdk provides a command for the same use-case, that
could make this script obsolete, but that will be investigated later.

--HG--
branch : heptapod
parent 7dfc1a7d20ca
......@@ -6,8 +6,8 @@ gdk stop
rm -rf repositories
hg rev repositories # recreates the directory, because of the .gitkeep
gdk start db
gdk psql -c 'DROP DATABASE praefect_development' postgres
gdk psql -c 'DROP DATABASE praefect_test' postgres
gdk psql -c 'DROP DATABASE praefect_development' -d postgres
gdk psql -c 'DROP DATABASE praefect_test' -d postgres
make praefect-migrate
gdk start gitaly
gdk start hgitaly
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment