Update migrate command

pull/5807/head
Qwerty5Uiop 2 years ago
parent ee52af6a4b
commit 143069c939
  1. 2
      docker/Makefile

@ -403,7 +403,7 @@ migrate_only:
@echo "==> Running migrations"
@docker run --rm \
$(BLOCKSCOUT_CONTAINER_PARAMS) \
$(BS_CONTAINER_IMAGE) /bin/sh -c "echo $$MIX_ENV && mix do ecto.create, ecto.migrate"
$(BS_CONTAINER_IMAGE) /bin/sh -c "echo $$MIX_ENV && ./bin/blockscout eval \"Elixir.Explorer.ReleaseTasks.create_and_migrate()\""
migrate: build postgres
@$(MAKE) -f $(THIS_FILE) migrate_only

Loading…
Cancel
Save