Skip to content

Instantly share code, notes, and snippets.

@shairozan
Created October 19, 2017 04:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shairozan/5b975330b40928ce1c9d49398632d191 to your computer and use it in GitHub Desktop.
Save shairozan/5b975330b40928ce1c9d49398632d191 to your computer and use it in GitHub Desktop.
#!/bin/bash
ROOT_PATH=/dotnet/src
if [ -z $1 ] ;
then
#No application was passed. Default
APPLICATION_PATH=CimplxReportingPlus
else
APPLICATION_PATH=$1
fi
MIGRATION_PATH=$ROOT_PATH/$APPLICATION_PATH
cd $MIGRATION_PATH
dotnet ef database update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment