FitTrackee/docker/init-database.sh

8 lines
79 B
Bash
Executable File

#!/bin/bash
set -e
cd /usr/src/app
source .env
ftcli db drop
ftcli db upgrade