mirror of
https://github.com/immich-app/immich.git
synced 2025-03-27 02:12:34 +01:00
13 lines
469 B
TypeScript
13 lines
469 B
TypeScript
import { MigrationInterface, QueryRunner } from 'typeorm';
|
|
|
|
export class Panoramas1690217088596 implements MigrationInterface {
|
|
name = 'Panoramas1690217088596';
|
|
|
|
public async up(queryRunner: QueryRunner): Promise<void> {
|
|
await queryRunner.query(`ALTER TABLE "exif" ADD "projectionType" character varying`);
|
|
}
|
|
|
|
public async down(queryRunner: QueryRunner): Promise<void> {
|
|
await queryRunner.query(`ALTER TABLE "exif" DROP COLUMN "projectionType"`);
|
|
}
|
|
}
|