add index to tables
This commit is contained in:
@@ -21,6 +21,8 @@ import { OrderPrint } from './print.entity';
|
||||
|
||||
@Entity({ tableName: 'orders' })
|
||||
@Index({ properties: ['user'] })
|
||||
@Index({ properties: ['designer'] })
|
||||
@Index({ properties: ['status'] })
|
||||
export class Order extends BaseEntity {
|
||||
[OptionalProps]?: 'createdAt' | 'deletedAt'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user