#!/bin/sh -x

if [ "$DATABASE_SSL" = "true" ]; then
  export DATABASE_URL="${DATABASE_URL}?ssl=true"
fi

$(npm bin)/db-migrate up