mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-02 18:47:07 -05:00 
			
		
		
		
	Added migration down for change exif file type
This commit is contained in:
		
							parent
							
								
									4596a8ee01
								
							
						
					
					
						commit
						87f7b0849a
					
				@ -10,5 +10,10 @@ export class ChangeExifFileSizeInByteToBigInt1661528919411 implements MigrationI
 | 
			
		||||
    `);
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  public async down(queryRunner: QueryRunner): Promise<void> {}
 | 
			
		||||
  public async down(queryRunner: QueryRunner): Promise<void> {
 | 
			
		||||
    await queryRunner.query(`
 | 
			
		||||
    ALTER TABLE exif
 | 
			
		||||
    ALTER COLUMN "fileSizeInByte" type integer using "fileSizeInByte"::integer;
 | 
			
		||||
  `);
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user