diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-05-16 01:07:32 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-05-16 01:07:32 +0900 |
| commit | 3f5b96bf629da5f736c09b10058802eed28cca18 (patch) | |
| tree | 9ee346f40ba93b252396b6b58ce724be54362c7c /src/models/entities | |
| parent | GIFのサムネイルが生成されないのを修正 (diff) | |
| download | sharkey-3f5b96bf629da5f736c09b10058802eed28cca18.tar.gz sharkey-3f5b96bf629da5f736c09b10058802eed28cca18.tar.bz2 sharkey-3f5b96bf629da5f736c09b10058802eed28cca18.zip | |
Resolve #4928
Diffstat (limited to 'src/models/entities')
| -rw-r--r-- | src/models/entities/meta.ts | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/src/models/entities/meta.ts b/src/models/entities/meta.ts index c3797a9ed6..fdd2818238 100644 --- a/src/models/entities/meta.ts +++ b/src/models/entities/meta.ts @@ -288,4 +288,61 @@ export class Meta { nullable: true }) public feedbackUrl: string | null; + + @Column('boolean', { + default: false, + }) + public useObjectStorage: boolean; + + @Column('varchar', { + length: 512, + nullable: true + }) + public objectStorageBucket: string | null; + + @Column('varchar', { + length: 512, + nullable: true + }) + public objectStoragePrefix: string | null; + + @Column('varchar', { + length: 512, + nullable: true + }) + public objectStorageBaseUrl: string | null; + + @Column('varchar', { + length: 512, + nullable: true + }) + public objectStorageEndpoint: string | null; + + @Column('varchar', { + length: 512, + nullable: true + }) + public objectStorageRegion: string | null; + + @Column('varchar', { + length: 512, + nullable: true + }) + public objectStorageAccessKey: string | null; + + @Column('varchar', { + length: 512, + nullable: true + }) + public objectStorageSecretKey: string | null; + + @Column('integer', { + nullable: true + }) + public objectStoragePort: number | null; + + @Column('boolean', { + default: true, + }) + public objectStorageUseSSL: boolean; } |