#!/usr/bin/env bash

# note needs to be run on terminal with active virtualenv
ALLOCATION__POSTGRES__PASSWORD=$(vault read -field=value secret/allocation/production-us-west-1/postgres_password)
ALLOCATION__POSTGRES__USERNAME=allocation
ALLOCATION__POSTGRES__HOST=internal-postgres.cp4rxnpmuhoe.us-west-1.rds.amazonaws.com
ALLOCATION__POSTGRES__DATABASE_NAME=allocation

migrate upgrade head
