From f3c925f3e7b2f46075063e2882a3cce06cce5b28 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 6 Sep 2016 17:03:25 +0200 Subject: Minor INSTALL update --- INSTALL | 5 +++++ INSTALL-DEV | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 ' +$ psql -d brep -c 'DROP OWNED BY ' -- cgit v1.1