chore: upgrade moduleResolution to Node16 (#9269)
This commit is contained in:
@@ -16,6 +16,12 @@ import {
|
||||
|
||||
type OptionalAddressProps = DAL.SoftDeletableModelDateColumns
|
||||
|
||||
const PgIndex = createPsqlIndexStatementHelper({
|
||||
tableName: "cart_address",
|
||||
columns: "deleted_at",
|
||||
where: "deleted_at IS NOT NULL",
|
||||
})
|
||||
|
||||
@Entity({ tableName: "cart_address" })
|
||||
@Filter(DALUtils.mikroOrmSoftDeletableFilterOptions)
|
||||
export default class Address {
|
||||
@@ -75,11 +81,7 @@ export default class Address {
|
||||
})
|
||||
updated_at: Date
|
||||
|
||||
@createPsqlIndexStatementHelper({
|
||||
tableName: "cart_address",
|
||||
columns: "deleted_at",
|
||||
where: "deleted_at IS NOT NULL",
|
||||
}).MikroORMIndex()
|
||||
@PgIndex.MikroORMIndex()
|
||||
@Property({ columnType: "timestamptz", nullable: true })
|
||||
deleted_at: Date | null = null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user