chore: Rename entity to model (#7977)
**What** Start renaming `entity` to `model`
This commit is contained in:
@@ -17,7 +17,7 @@ import {
|
||||
} from "@mikro-orm/core"
|
||||
import PriceList from "./price-list"
|
||||
|
||||
type OptionalFields = DAL.SoftDeletableEntityDateColumns
|
||||
type OptionalFields = DAL.SoftDeletableModelDateColumns
|
||||
|
||||
const tableName = "price_list_rule"
|
||||
const PriceListRuleDeletedAtIndex = createPsqlIndexStatementHelper({
|
||||
|
||||
@@ -27,7 +27,7 @@ import PriceListRule from "./price-list-rule"
|
||||
type OptionalFields =
|
||||
| "starts_at"
|
||||
| "ends_at"
|
||||
| DAL.SoftDeletableEntityDateColumns
|
||||
| DAL.SoftDeletableModelDateColumns
|
||||
|
||||
const tableName = "price_list"
|
||||
const PriceListDeletedAtIndex = createPsqlIndexStatementHelper({
|
||||
|
||||
@@ -17,7 +17,7 @@ import {
|
||||
} from "@mikro-orm/core"
|
||||
import Price from "./price"
|
||||
|
||||
type OptionalFields = DAL.SoftDeletableEntityDateColumns
|
||||
type OptionalFields = DAL.SoftDeletableModelDateColumns
|
||||
|
||||
const tableName = "price_rule"
|
||||
const PriceRuleDeletedAtIndex = createPsqlIndexStatementHelper({
|
||||
|
||||
@@ -24,7 +24,7 @@ import PriceList from "./price-list"
|
||||
import PriceRule from "./price-rule"
|
||||
import PriceSet from "./price-set"
|
||||
|
||||
type OptionalFields = DAL.SoftDeletableEntityDateColumns
|
||||
type OptionalFields = DAL.SoftDeletableModelDateColumns
|
||||
|
||||
const tableName = "price"
|
||||
const PriceDeletedAtIndex = createPsqlIndexStatementHelper({
|
||||
|
||||
Reference in New Issue
Block a user