0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-04-08 03:01:32 -05:00
immich/server
Alex Tran 96e786d480
Pump
2023-01-10 16:04:14 -06:00
..
apps Pump 2023-01-10 16:04:06 -06:00
bin
libs
openapi-generator/templates/serialization/native
.dockerignore
.eslintrc.js
.gitignore
.prettierrc
Dockerfile
immich-openapi-specs.json Pump 2023-01-10 16:04:14 -06:00
LICENSE
nest-cli.json
openapitools.json
package-lock.json
package.json
README.md
start-microservices.sh
start-server.sh
tsconfig.build.json
tsconfig.json

How to run migration

  1. Attached to the container shell
  2. Run npm run typeorm -- migration:generate ./libs/database/src/<migration-name> -d libs/database/src/config/database.config.ts
  3. Check if the migration file makes sense
  4. Move the migration file to folder server/libs/database/src/migrations in your code editor.