mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-25 04:43:08 +02:00
b0bb5d8dfc
* 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);
|
|
}
|
|
|
|
}
|