mirror of
https://github.com/plankanban/planka.git
synced 2026-02-05 00:39:58 +03:00
Update 'server:db:migrate' not found #303
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Nearly9924 on GitHub (Apr 5, 2023).
I can't find any working documentation for updating from 1.9.0 to 1.9.1.
I think the same problem is with 1.9.2, 1.10.0 and 1.10.3.
The release notes say I need to update the DB
npm run server:db:migrate.When I run
docker exec -it planka npm run server:db:migrateI get "npm ERR! Missing script: "server:db:migrate"".
my docker-compose.yml:
The problem was the migration directory was corrupted
I have fixid is with
docker exec -it planka wget https://raw.githubusercontent.com/plankanban/planka/d6cb1f6683774ffa52012f42b6483a8a93e704d1/server/db/migrations/20180721234154_create_project_membership_table.js -P db/migrations