summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/models/entities/drive-file.ts2
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.'