fix: add missing indexes
This commit is contained in:
@@ -87,6 +87,7 @@ export default class PaymentSession {
|
||||
authorised_at: Date | null
|
||||
|
||||
@ManyToOne({
|
||||
index: "IDX_payment_session_payment_collection_id",
|
||||
fieldName: "payment_collection_id",
|
||||
})
|
||||
payment_collection!: PaymentCollection
|
||||
|
||||
@@ -113,6 +113,7 @@ export default class Payment {
|
||||
captures = new Collection<Capture>(this)
|
||||
|
||||
@ManyToOne({
|
||||
index: "IDX_payment_payment_collection_id",
|
||||
fieldName: "payment_collection_id",
|
||||
})
|
||||
payment_collection!: PaymentCollection
|
||||
|
||||
Reference in New Issue
Block a user