mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-10 11:33:08 +02:00
Add indexes
This commit is contained in:
parent
b41cddaf5a
commit
9bfbc12afa
1 changed files with 2 additions and 0 deletions
|
@ -72,6 +72,7 @@ export class DriveFile {
|
||||||
})
|
})
|
||||||
public properties: Record<string, any>;
|
public properties: Record<string, any>;
|
||||||
|
|
||||||
|
@Index()
|
||||||
@Column('boolean')
|
@Column('boolean')
|
||||||
public storedInternal: boolean;
|
public storedInternal: boolean;
|
||||||
|
|
||||||
|
@ -146,6 +147,7 @@ export class DriveFile {
|
||||||
/**
|
/**
|
||||||
* 外部の(信頼されていない)URLへの直リンクか否か
|
* 外部の(信頼されていない)URLへの直リンクか否か
|
||||||
*/
|
*/
|
||||||
|
@Index()
|
||||||
@Column('boolean', {
|
@Column('boolean', {
|
||||||
default: false,
|
default: false,
|
||||||
comment: 'Whether the DriveFile is direct link to remote server.'
|
comment: 'Whether the DriveFile is direct link to remote server.'
|
||||||
|
|
Loading…
Reference in a new issue