DB versioning code refactor
gitea/salix/dev This commit looks good
Details
gitea/salix/dev This commit looks good
Details
This commit is contained in:
parent
13ca2f7e52
commit
836f210f6c
|
@ -22,6 +22,9 @@ done
|
|||
shift $(($OPTIND - 1))
|
||||
|
||||
ENV=$1
|
||||
DIR="$(dirname "${BASH_SOURCE[0]}")"
|
||||
|
||||
# Production protection
|
||||
|
||||
if [ "$ENV" == "production" ]; then
|
||||
echo ""
|
||||
|
@ -45,8 +48,6 @@ if [ "$ENV" == "production" ]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
DIR="$(dirname "${BASH_SOURCE[0]}")"
|
||||
|
||||
# Configuration file
|
||||
|
||||
if [ -z "$ENV" ]; then
|
||||
|
|
Loading…
Reference in New Issue