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-09 15:19:22 -06:00
..
apps Pump 2022-12-09 15:19:22 -06:00
bin
libs feat(server,web): migrate oauth settings from env to system config () 2022-12-09 14:51:42 -06:00
.dockerignore
.eslintrc.js
.gitignore
.prettierrc
Dockerfile fix(server): link 'immich' () 2022-12-09 14:52:56 -06:00
immich-openapi-specs.json fix(server): require local admin account () 2022-12-09 14:53:11 -06:00
LICENSE
nest-cli.json feat(server,web): migrate oauth settings from env to system config () 2022-12-09 14:51:42 -06:00
openapitools.json
package-lock.json
package.json feat(server,web): migrate oauth settings from env to system config () 2022-12-09 14:51:42 -06:00
README.md
start-microservices.sh
start-server.sh
tsconfig.build.json
tsconfig.json feat(server,web): migrate oauth settings from env to system config () 2022-12-09 14:51:42 -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.