From f4da248f695c3c10ae6b8ebd6250b37a95862a70 Mon Sep 17 00:00:00 2001 From: Viktor Baranov Date: Mon, 16 Aug 2021 16:40:57 +0300 Subject: [PATCH] Add DB migrations step into Docker start script --- CHANGELOG.md | 1 + docker/Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d49e9004ae..c263c50616 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ - [#4401](https://github.com/blockscout/blockscout/pull/4401) - Fix displaying of token holders with the same amount ### Chore +- [#4516](https://github.com/blockscout/blockscout/pull/4516) - Add DB migrations step into Docker start script - [#4497](https://github.com/blockscout/blockscout/pull/4497) - Handle error in fetch_validators_list method - [#4444](https://github.com/blockscout/blockscout/pull/4444) - Main page performance cumulative update - [#4439](https://github.com/blockscout/blockscout/pull/4439), - [#4465](https://github.com/blockscout/blockscout/pull/4465) - Fix revert response in contract's output diff --git a/docker/Makefile b/docker/Makefile index 826d3cd19b..47cedafc4a 100644 --- a/docker/Makefile +++ b/docker/Makefile @@ -329,7 +329,7 @@ start: build postgres @docker run --rm --name $(BS_CONTAINER_NAME) \ $(BLOCKSCOUT_CONTAINER_PARAMS) \ -p 4000:4000 \ - $(DOCKER_IMAGE) /bin/sh -c "mix phx.server" + $(DOCKER_IMAGE) /bin/sh -c "mix do ecto.create, ecto.migrate; mix phx.server" run: start