aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>'