mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 17:03:49 +01:00
Add indexes
This commit is contained in:
parent
680c672398
commit
d9edc41bd7
@ -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.'
|
||||
|
Loading…
Reference in New Issue
Block a user