Update backend/README.md

Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
This commit is contained in:
Hannes Heine 2023-03-08 09:32:10 +01:00 committed by GitHub
parent 3b724b8022
commit 7d761363d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -135,7 +135,7 @@ To reset the database run:
$ docker exec backend yarn run db:reset $ docker exec backend yarn run db:reset
# you could also wipe out your neo4j database and delete all volumes with: # you could also wipe out your neo4j database and delete all volumes with:
$ docker-compose down -v $ docker-compose down -v
# if container is not running, run this command to set up your database indices and constraints # if container is not running, run this command to set up your database indexes and constraints
$ docker exec backend yarn run db:migrate init $ docker exec backend yarn run db:migrate init
# And then upgrade the indices and const # And then upgrade the indices and const
$ docker exec backend yarn run db:migrate up $ docker exec backend yarn run db:migrate up