committed by
GitHub
parent
dc9c23be34
commit
8fbef8a667
@@ -1,6 +1,7 @@
|
||||
import { DAL } from "@medusajs/framework/types"
|
||||
import {
|
||||
OrderStatus,
|
||||
Searchable,
|
||||
createPsqlIndexStatementHelper,
|
||||
generateEntityId,
|
||||
} from "@medusajs/framework/utils"
|
||||
@@ -90,6 +91,7 @@ export default class Order {
|
||||
@PrimaryKey({ columnType: "text" })
|
||||
id: string
|
||||
|
||||
@Searchable()
|
||||
@Property({ autoincrement: true, primary: false })
|
||||
@DisplayIdIndex.MikroORMIndex()
|
||||
display_id: number
|
||||
@@ -130,6 +132,7 @@ export default class Order {
|
||||
@IsDraftOrderIndex.MikroORMIndex()
|
||||
is_draft_order: boolean = false
|
||||
|
||||
@Searchable()
|
||||
@Property({ columnType: "text", nullable: true })
|
||||
email: string | null = null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user