7 lines
178 B
Bash
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"
|