You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On running command in running backend the following error occurs:
# in folder backend
$ yarn db:migrate up
yarn run v1.22.19
$ yarn run __migrate --store ./src/db/migrate/store.ts up
$ migrate --compiler 'ts:./src/db/compiler.ts' --migrations-dir ./src/db/migrations --store ./src/db/migrate/store.ts up
error : Error: Missing migration file: 20231017141022-fix-event-dates.js
Error: Missing migration file: 20231017141022-fix-event-dates.js
at /Users/wolfgang/Documents/Programming/busFaktor/Ocelot-Social-Community/Ocelot-Social/backend/node_modules/migrate/lib/load-migrations.js:83:44
at Array.forEach (<anonymous>)
at /Users/wolfgang/Documents/Programming/busFaktor/Ocelot-Social-Community/Ocelot-Social/backend/node_modules/migrate/lib/load-migrations.js:81:44
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The text was updated successfully, but these errors were encountered:
Tirokk
changed the title
π₯ [DevOps] Command yarn db:migrate up doesn't work
π₯ [DevOps] Backend β Command yarn db:migrate up doesn't work
Jan 16, 2025
# in root directory
git checkout master
git pull
docker compose up neo4j -d
# change into backend directorycd backend
cp .env.template .env
nvm use
yarn install
yarn run db:migrate init
yarn run db:migrate up
That worked as expected
Maybe there were some local db changes?
Please try again using yarn run db:reset (see backend Readme) before the db commands.
π₯ DevOps ticket
Command
yarn db:migrate up
doesn't workOn running command in running backend the following error occurs:
The text was updated successfully, but these errors were encountered: