mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 15:34:13 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			578 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			578 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import {MigrationInterface, QueryRunner} from "typeorm";
 | 
						|
 | 
						|
export class userProfileDescriptionLength1622679304522 implements MigrationInterface {
 | 
						|
	name = 'userProfileDescriptionLength1622679304522';
 | 
						|
 | 
						|
	public async up(queryRunner: QueryRunner): Promise<void> {
 | 
						|
		await queryRunner.query(`ALTER TABLE "user_profile" ALTER COLUMN "description" TYPE character varying(2048)`, undefined);
 | 
						|
	}
 | 
						|
 | 
						|
	public async down(queryRunner: QueryRunner): Promise<void> {
 | 
						|
		await queryRunner.query(`ALTER TABLE "user_profile" ALTER COLUMN "description" TYPE character varying(1024)`, undefined);
 | 
						|
	}
 | 
						|
}
 |