1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-24 08:52:28 +02:00
immich/server
Alex c754c860fd
feat(server) user-defined storage structure (#1098)
[Breaking] newly uploaded file will conform to the default structure of `{uploadLocation}/{userId}/year/year-month-day/filename.ext`
2022-12-16 14:26:12 -06:00
..
apps feat(server) user-defined storage structure (#1098) 2022-12-16 14:26:12 -06:00
bin feat(server): reset admin password using cli command in the server container (#928) 2022-11-05 11:28:40 -05:00
libs feat(server) user-defined storage structure (#1098) 2022-12-16 14:26:12 -06:00
.dockerignore feat(immich-server) use ubuntu base-image (#851) 2022-10-24 14:59:07 -05:00
.eslintrc.js
.gitignore Added generated geocoding files to gitignore 2022-09-28 15:44:43 -05:00
.prettierrc
Dockerfile fix(server): link 'immich' (#1080) 2022-12-09 14:52:56 -06:00
immich-openapi-specs.json feat(server) user-defined storage structure (#1098) 2022-12-16 14:26:12 -06:00
LICENSE feat(docker) revert ubuntu base image (#863) 2022-10-25 14:18:37 -05:00
nest-cli.json feat(server) user-defined storage structure (#1098) 2022-12-16 14:26:12 -06:00
openapitools.json
package-lock.json feat(server) user-defined storage structure (#1098) 2022-12-16 14:26:12 -06:00
package.json feat(server) user-defined storage structure (#1098) 2022-12-16 14:26:12 -06:00
README.md feat(server,web): system config for admin (#959) 2022-11-14 22:39:32 -06:00
start-microservices.sh
start-server.sh
tsconfig.build.json
tsconfig.json feat(server) user-defined storage structure (#1098) 2022-12-16 14:26:12 -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.