1
0
mirror of https://github.com/immich-app/immich.git synced 2025-01-12 15:32:36 +02:00
immich/server
2023-04-05 13:23:03 +01:00
..
apps refactor(server): more consistent param validation (#2166) 2023-04-04 17:24:08 -05:00
bin fix(server): more asset upload validation and docs (#1720) 2023-02-11 23:54:07 -06:00
libs chore(server): update typeorm (#2173) 2023-04-05 13:23:03 +01:00
openapi-generator fix(server): more asset upload validation and docs (#1720) 2023-02-11 23:54:07 -06:00
.dockerignore
.eslintrc.js chore(docs): contributing (#1311) 2023-01-12 08:44:11 -06:00
.gitignore
.prettierignore chore(docs): contributing (#1311) 2023-01-12 08:44:11 -06:00
.prettierrc
Dockerfile fix(server): Revert alpine version to fix Sharp dependencies not installed correctly (#2172) 2023-04-05 02:57:30 +00:00
immich-openapi-specs.json refactor(server): more consistent param validation (#2166) 2023-04-04 17:24:08 -05:00
LICENSE
nest-cli.json chore: remove unused config (#2121) 2023-03-30 12:22:25 -05:00
openapitools.json
package-lock.json chore(server): update typeorm (#2173) 2023-04-05 13:23:03 +01:00
package.json chore(server): use ioredis (#2116) 2023-03-31 09:36:08 -05:00
README.md
start-microservices.sh feat(deployment): support docker secrets (#1254) 2023-02-05 23:38:06 -06:00
start-server.sh feat(deployment): support docker secrets (#1254) 2023-02-05 23:38:06 -06:00
tsconfig.build.json
tsconfig.json refactor(server): common (#2066) 2023-03-23 23:55:15 -05: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.