My Postgres server crashed and i have to reinstall fresh DB

In this case i have to run bundle exec rake db:migrate script .
Is there any other alternative.

In the only supported way to install Discourse, a rebuild for on the command line will handle all migrations automatically.

We don’t support other methods of installation here, sorry.