forked from External/greenlight
Update start
This commit is contained in:
parent
a08a8be24e
commit
5a18da1a2f
|
@ -11,7 +11,7 @@ fi
|
||||||
db_create=$(RAILS_ENV=$RAILS_ENV bundle exec rake db:create)
|
db_create=$(RAILS_ENV=$RAILS_ENV bundle exec rake db:create)
|
||||||
echo $db_create
|
echo $db_create
|
||||||
|
|
||||||
if [[ $db_create == *"ERROR"* ]]; then
|
if [[ $db_create == *"Error"* ]]; then
|
||||||
echo ">>> Database migration"
|
echo ">>> Database migration"
|
||||||
bundle exec rake db:migrate
|
bundle exec rake db:migrate
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue