mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-10-31 05:24:13 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			520 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			520 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import {MigrationInterface, QueryRunner} from "typeorm";
 | |
| 
 | |
| export class instanceThemeColor1603776877564 implements MigrationInterface {
 | |
|     name = 'instanceThemeColor1603776877564'
 | |
| 
 | |
|     public async up(queryRunner: QueryRunner): Promise<void> {
 | |
|         await queryRunner.query(`ALTER TABLE "instance" ADD "themeColor" character varying(64) DEFAULT null`);
 | |
|     }
 | |
| 
 | |
|     public async down(queryRunner: QueryRunner): Promise<void> {
 | |
|         await queryRunner.query(`ALTER TABLE "instance" DROP COLUMN "themeColor"`);
 | |
|     }
 | |
| 
 | |
| }
 |