database migrations (#153)

* database migrations

* fix: reverse order of down migrations

* use positional parameters in queries

* simplify migrations

* typo

* rename SchemaMigration to Migration

* move store initialization to IO monad
This commit is contained in:
Evgeny Poberezkin
2021-05-31 16:38:35 +01:00
committed by GitHub
parent 92bd8ef335
commit 84ce001598
10 changed files with 248 additions and 196 deletions

View File

@@ -70,7 +70,7 @@ jobs:
- name: Build & test
id: build_test
run: |
stack build --test
stack build --test --force-dirty
echo "::set-output name=LOCAL_INSTALL_ROOT::$(stack path --local-install-root)"
- name: Upload binaries to release