mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-24 09:14:46 +01:00
8 lines
265 B
Plaintext
8 lines
265 B
Plaintext
|
read -r -p "Are you sure you want to pull production db? It'll destroy your local db [y/N] " response
|
||
|
if [[ "$response" =~ ^([yY][eE][sS]|[yY])+$ ]]
|
||
|
then
|
||
|
dropdb hiberly;
|
||
|
heroku pg:pull DATABASE_URL hiberly --app hiberly-dev
|
||
|
else
|
||
|
echo 'doing nothing';
|
||
|
fi
|