1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-29 11:24:37 +02:00
immich/server
2023-02-20 09:58:46 -06:00
..
apps fix(server): asset search query (#1806) 2023-02-20 09:58:46 -06:00
bin fix(server): more asset upload validation and docs (#1720) 2023-02-11 23:54:07 -06:00
libs chore(server): typeorm definitions fix part 3 (#1796) 2023-02-20 01:50:27 +00:00
openapi-generator fix(server): more asset upload validation and docs (#1720) 2023-02-11 23:54:07 -06:00
.dockerignore
.eslintrc.js
.gitignore
.prettierignore
.prettierrc
Dockerfile chore: reduce docker image size (#1523) 2023-02-02 21:28:34 -06:00
immich-openapi-specs.json chore(server): typeorm definitions fix part 3 (#1796) 2023-02-20 01:50:27 +00:00
LICENSE
nest-cli.json
openapitools.json
package-lock.json infra(server)!: fix typeorm asset entity relations (#1782) 2023-02-19 16:44:53 +00:00
package.json infra(server): fix Album TypeORM relations and change ids to uuids (#1582) 2023-02-18 14:58:55 -06: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): system config (#1353) 2023-01-21 10:11:55 -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.