aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-09-06 17:03:25 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-09-06 17:03:25 +0200
commitf3c925f3e7b2f46075063e2882a3cce06cce5b28 (patch)
tree7e74e7bf1cdf13f8695bafbcfa9f06708d8a26d9
parent6c2faffa903759f3c610b04ccb3e8bcbc065d45d (diff)
Minor INSTALL update
-rw-r--r--INSTALL5
-rw-r--r--INSTALL-DEV2
2 files changed, 6 insertions, 1 deletions
diff --git a/INSTALL b/INSTALL
index d03ef0a..de25c4d 100644
--- a/INSTALL
+++ b/INSTALL
@@ -342,6 +342,11 @@ Migrate database schema:
$ install/bin/brep-migrate
+Note that if instead you need to recreate the whole database (e.g., migration
+is not possible), then one way to do it would be:
+
+$ psql -c 'DROP OWNED BY brep'
+
If using systemd, then start and enable the loader:
$ systemctl --user start brep-load.service
diff --git a/INSTALL-DEV b/INSTALL-DEV
index b301a49..66d554c 100644
--- a/INSTALL-DEV
+++ b/INSTALL-DEV
@@ -128,4 +128,4 @@ sudo systemctl restart apache2
Note that if instead you need to recreate the whole database (e.g., migration
is not possible), then one way to do it would be:
-psql -d brep -c 'DROP OWNED BY <user>'
+$ psql -d brep -c 'DROP OWNED BY <user>'