db optimize
This commit is contained in:
@@ -4,8 +4,8 @@ import { Delivery } from '../../delivery/entities/delivery.entity';
|
||||
import { PlanEnum } from '../interface/plan.interface';
|
||||
|
||||
@Entity({ tableName: 'restaurants' })
|
||||
@Index({ properties: ['isActive'] })
|
||||
@Index({ properties: ['slug', 'isActive'] })
|
||||
@Index({ properties: ['slug'] })
|
||||
export class Restaurant extends BaseEntity {
|
||||
// --- اطلاعات پایه ---
|
||||
@Property()
|
||||
|
||||
Reference in New Issue
Block a user