#!/usr/bin/env bash set -xe DBPORT=5432 DBPASSWORD= DBUSER=swh-scrubber DBNAME=swh-scrubber DBHOST=db1.internal.staging.swh.network CONNSTRING=postgresql://$DBUSER:$DBPASSWORD@$DBHOST:$DBPORT/$DBNAME swh db init-admin --dbname $CONNSTRING scrubber swh db init --dbname $CONNSTRING scrubber