1
0
mirror of https://github.com/immich-app/immich.git synced 2025-01-03 13:09:27 +02:00
immich/server
2023-06-06 14:17:15 -05:00
..
apps refactor(server): move asset checks to service (#2640) 2023-06-06 14:17:15 -05:00
bin chore(web): generate API functions with a single argument (#2568) 2023-05-27 20:52:22 -05:00
libs chore(ml): updated dockerfile, added typing, packaging (#2642) 2023-06-05 09:40:48 -05:00
openapi-generator chore: update api (#2428) 2023-05-11 10:49:28 -05: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 docker: use default entrypoint and command where applicable (#2529) 2023-05-23 09:02:47 -05:00
immich-openapi-specs.json Version v1.60.0 2023-06-04 15:45:06 +00:00
LICENSE
nest-cli.json chore: remove unused config (#2121) 2023-03-30 12:22:25 -05:00
openapitools.json chore(server): update openapi (#2205) 2023-04-08 21:26:09 -05:00
package-lock.json Version v1.60.0 2023-06-04 15:45:06 +00:00
package.json Version v1.60.0 2023-06-04 15:45:06 +00:00
README.md
start-microservices.sh fix(server): add executable permission to start scripts (#2650) 2023-06-02 14:04:26 -05:00
start-server.sh fix(server): add executable permission to start scripts (#2650) 2023-06-02 14:04:26 -05: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.