feat(medusa): Improve prices flow (#3703)
This commit is contained in:
1 parent
186b7d2773
commit
ed382f2ee5
26 files changed
+1079
-780
No files matched your search
@@ -43,7 +43,7 @@ export class MoneyAmount extends SoftDeletableEntity {
|
||||
@JoinColumn({ name: "price_list_id" })
|
||||
price_list: PriceList | null
|
||||
|
||||
@Index()
|
||||
@Index('idx_money_amount_variant_id')
|
||||
@Column({ nullable: true })
|
||||
variant_id: string
|
||||
|
||||
@@ -53,7 +53,7 @@ export class MoneyAmount extends SoftDeletableEntity {
|
||||
@JoinColumn({ name: "variant_id" })
|
||||
variant: ProductVariant
|
||||
|
||||
@Index()
|
||||
@Index('idx_money_amount_region_id')
|
||||
@Column({ nullable: true })
|
||||
region_id: string
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ export class ProductOptionValue extends SoftDeletableEntity {
|
||||
@Column()
|
||||
value: string
|
||||
|
||||
@Index()
|
||||
@Index('idx_product_option_value_option_id')
|
||||
@Column()
|
||||
option_id: string
|
||||
|
||||
@@ -26,7 +26,7 @@ export class ProductOptionValue extends SoftDeletableEntity {
|
||||
@JoinColumn({ name: "option_id" })
|
||||
option: ProductOption
|
||||
|
||||
@Index()
|
||||
@Index('idx_product_option_value_variant_id')
|
||||
@Column()
|
||||
variant_id: string
|
||||
|
||||
|
||||
Reference in new issue
Block a user