Rocket/examples/todo/bootstrap.sh
jeb 30cf75335b Embed the diesel database migrations in the todo example.
`diesel_cli` is no longer needed for running the example or its tests.
2018-09-11 12:38:10 -07:00

7 lines
135 B
Bash
Executable File

#! /usr/bin/env bash
SCRIPT_PATH=$(cd "$(dirname "$0")" ; pwd -P)
DATABASE_URL="${SCRIPT_PATH}/db/db.sqlite"
rm -f "${DATABASE_URL}"