perf(backend): delete useless indexes

This commit is contained in:
syuilo
2023-10-04 16:50:06 +09:00
parent fb63fc1213
commit 55c14aec2c
2 changed files with 18 additions and 2 deletions

View File

@@ -18,7 +18,6 @@ export class MiNote {
@PrimaryColumn(id())
public id: string;
@Index()
@Column('timestamp with time zone', {
comment: 'The created date of the Note.',
})
@@ -151,7 +150,6 @@ export class MiNote {
})
public fileIds: MiDriveFile['id'][];
@Index()
@Column('varchar', {
length: 256, array: true, default: '{}',
})