bvplan/backend/run.sh
2023-01-17 06:54:45 +01:00

7 lines
178 B
Bash

#!/usr/bin/env bash
# -*- coding: utf-8 -*-
DATABASE_URL="$BACKEND_DB_URL" diesel setup \
--migration-dir ./migrations \
--locked-schema &&
RUST_BACKTRACE=full "./bin/$1"