This commit is contained in:
parent
c9d4987e6f
commit
4dcae7074e
@ -52,9 +52,6 @@ else
|
|||||||
if [ "$TABLE_COUNT" -eq 0 ]; then
|
if [ "$TABLE_COUNT" -eq 0 ]; then
|
||||||
echo "Database '$POSTGRES_DB' is empty, running db:setup."
|
echo "Database '$POSTGRES_DB' is empty, running db:setup."
|
||||||
bundle exec rake db:setup
|
bundle exec rake db:setup
|
||||||
#bundle exec rake db:schema:load
|
|
||||||
#bundle exec rake db:migrate
|
|
||||||
#bundle exec rake db:seed
|
|
||||||
else
|
else
|
||||||
echo "database '$POSTGRES_DB' not empty, running migrations."
|
echo "database '$POSTGRES_DB' not empty, running migrations."
|
||||||
bundle exec rake db:migrate
|
bundle exec rake db:migrate
|
||||||
|
Loading…
x
Reference in New Issue
Block a user