0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-03-11 02:23:09 -05:00
immich/server
2022-12-03 21:59:24 -06:00
..
apps feat(server): link via profile.sub (#1055) 2022-12-03 21:59:24 -06:00
bin
libs feat(server): link via profile.sub (#1055) 2022-12-03 21:59:24 -06:00
.dockerignore
.eslintrc.js
.gitignore
.prettierrc
Dockerfile
immich-openapi-specs.json feat(server,web): activate ETags for all API endpoints and asset serving (#1031) 2022-11-29 15:45:47 -06:00
LICENSE
nest-cli.json feat(server,web): system config for admin (#959) 2022-11-14 22:39:32 -06:00
openapitools.json
package-lock.json chore(server) refactor serveFile and downloadFile endpoint (#978) 2022-11-16 00:11:16 -06:00
package.json chore(server) refactor serveFile and downloadFile endpoint (#978) 2022-11-16 00:11:16 -06:00
README.md feat(server,web): system config for admin (#959) 2022-11-14 22:39:32 -06:00
start-microservices.sh
start-server.sh
tsconfig.build.json
tsconfig.json feat(server,web): system config for admin (#959) 2022-11-14 22:39:32 -06:00

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.