From c02cf840778429475a5e2ee197e616f7fa3624ec Mon Sep 17 00:00:00 2001 From: Luis Ramos Date: Mon, 16 Jul 2018 11:56:28 +0100 Subject: [PATCH] Updated Troubleshooting your instance (markdown) --- Troubleshooting-your-instance.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Troubleshooting-your-instance.md b/Troubleshooting-your-instance.md index 820011e..a38d6a5 100644 --- a/Troubleshooting-your-instance.md +++ b/Troubleshooting-your-instance.md @@ -16,3 +16,5 @@ This recreates it and runs the `db:seed` task as well. When it succeeds you can load some sample data with: `bundle exec rake dev:load_sample_data` +If you still having problems with your database state you can always delete it and re-create it. +Make sure that the psql user has the superuser role and then run `bundle exec rake db:setup db:test:prepare`. That should create the database and load the current schema.