feat(migration): Added automatic migration (#54)

This commit is contained in:
Redblueflame
2020-08-28 17:48:01 +02:00
committed by GitHub
parent 2b1ed49e9a
commit 38b7d9724e
8 changed files with 123 additions and 4 deletions

3
.env
View File

@@ -3,11 +3,10 @@ RUST_LOG=info,sqlx::query=warn
CDN_URL=https://cdn.modrinth.com
DATABASE_URL=postgresql://labrinth@localhost/labrinth
DATABASE_URL=postgresql://labrinth:labrinth@localhost/labrinth
MEILISEARCH_ADDR=http://localhost:7700
BIND_ADDR=127.0.0.1:8000
MOCK_FILE_PATH=/tmp/modrinth
BACKBLAZE_ENABLED=false