mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-10-28 20:14:13 +00:00 
			
		
		
		
	* Media Proxy を実装 * サンプルを追加 * https://github.com/syuilo/misskey/pull/5649#discussion_r359967471 の修正 * https://github.com/syuilo/misskey/pull/5649#discussion_r359967966 の修正 * https://github.com/syuilo/misskey/pull/5649#discussion_r359968219 の修正 * 期限切れ/未保存リモートファイルのローカルプロキシ * 設定 * 説明 * comment out * fix Co-authored-by: 和風ドレッシング <37681609+CookieRamen@users.noreply.github.com>
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			536 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			536 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import {MigrationInterface, QueryRunner} from "typeorm";
 | |
| 
 | |
| export class ProxyRemoteFiles1576869585998 implements MigrationInterface {
 | |
|     name = 'ProxyRemoteFiles1576869585998'
 | |
| 
 | |
|     public async up(queryRunner: QueryRunner): Promise<any> {
 | |
|         await queryRunner.query(`ALTER TABLE "meta" ADD "proxyRemoteFiles" boolean NOT NULL DEFAULT false`, undefined);
 | |
|     }
 | |
| 
 | |
|     public async down(queryRunner: QueryRunner): Promise<any> {
 | |
|         await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "proxyRemoteFiles"`, undefined);
 | |
|     }
 | |
| 
 | |
| }
 |