FitTrackee/docker/init-database.sh

8 lines
86 B
Bash
Executable File

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