Add driveFiles index
This commit is contained in:
parent
67da90530b
commit
5ccd5ad56e
3 changed files with 16 additions and 0 deletions
|
@ -4,6 +4,7 @@ import { DriveFolder } from './drive-folder';
|
|||
import { id } from '../id';
|
||||
|
||||
@Entity()
|
||||
@Index(['userId', 'folderId', 'id'])
|
||||
export class DriveFile {
|
||||
@PrimaryColumn(id())
|
||||
public id: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue