Add driveFiles index

This commit is contained in:
syuilo
2020-02-15 04:29:57 +09:00
parent 67da90530b
commit 5ccd5ad56e
3 changed files with 16 additions and 0 deletions

View File

@ -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;