diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-06-13 15:30:51 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-06-13 15:30:51 +0900 |
| commit | 9bfbc12afac8517792b49370c9c4fd8b5652eda3 (patch) | |
| tree | 501b0e7b41a9333c9aac3828d019a3f9b8950ae0 /src/models | |
| parent | Fix: #5035 (#5048) (diff) | |
| download | sharkey-9bfbc12afac8517792b49370c9c4fd8b5652eda3.tar.gz sharkey-9bfbc12afac8517792b49370c9c4fd8b5652eda3.tar.bz2 sharkey-9bfbc12afac8517792b49370c9c4fd8b5652eda3.zip | |
Add indexes
Diffstat (limited to 'src/models')
| -rw-r--r-- | src/models/entities/drive-file.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/models/entities/drive-file.ts b/src/models/entities/drive-file.ts index 130af39ede..319bdc82ce 100644 --- a/src/models/entities/drive-file.ts +++ b/src/models/entities/drive-file.ts @@ -72,6 +72,7 @@ export class DriveFile { }) public properties: Record<string, any>; + @Index() @Column('boolean') public storedInternal: boolean; @@ -146,6 +147,7 @@ export class DriveFile { /** * 外部の(信頼されていない)URLへの直リンクか否か */ + @Index() @Column('boolean', { default: false, comment: 'Whether the DriveFile is direct link to remote server.' |