bvplan/backend/run.sh
2022-12-12 17:54:07 +01:00

6 lines
146 B
Bash

#!/bin/bash
DATABASE_URL="$BACKEND_DB_URL" diesel setup \
--migration-dir ./migrations \
--locked-schema &&
RUST_BACKTRACE=full "./bin/$1"