1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-28 09:33:27 +02:00
immich/server
2023-02-06 22:40:31 +00:00
..
apps feat(server): add updatedAt to Asset, Album and User (#1566) 2023-02-06 10:24:58 -06:00
bin fix(mobile): omit null values from json requests (#1212) 2023-01-09 22:08:45 -06:00
libs feat(server): add updatedAt to Asset, Album and User (#1566) 2023-02-06 10:24:58 -06:00
openapi-generator/templates/serialization/native fix(mobile): omit null values from json requests (#1212) 2023-01-09 22:08:45 -06:00
.dockerignore feat(immich-server) use ubuntu base-image (#851) 2022-10-24 14:59:07 -05:00
.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 chore: reduce docker image size (#1523) 2023-02-02 21:28:34 -06:00
immich-openapi-specs.json feat(server): add updatedAt to Asset, Album and User (#1566) 2023-02-06 10:24:58 -06:00
LICENSE feat(docker) revert ubuntu base image (#863) 2022-10-25 14:18:37 -05:00
nest-cli.json refactor(server): domain/infra (#1298) 2023-01-11 21:34:36 -05:00
openapitools.json
package-lock.json chore(server): update package-lock.json to match package.json (#1573) 2023-02-06 22:40:31 +00:00
package.json chore(server): remove token when logged out (#1560) 2023-02-05 23:31:16 -06:00
README.md feat(server,web): system config for admin (#959) 2022-11-14 22:39:32 -06:00
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.