test-entity-library-asm 3.7.7 → 3.7.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -106,7 +106,7 @@ var RequestLocal = /** @class */ (function () {
106
106
  (0, typeorm_1.ManyToOne)(function () { return __1.CodeRedemptionHistoryUser; }, function (codeRedemptionHistoryUser) {
107
107
  return codeRedemptionHistoryUser.discount_redemption_request_locals;
108
108
  }, {
109
- onDelete: "CASCADE",
109
+ onDelete: "SET NULL",
110
110
  onUpdate: "NO ACTION",
111
111
  nullable: true,
112
112
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "test-entity-library-asm",
3
- "version": "3.7.7",
3
+ "version": "3.7.8",
4
4
  "description": "Entidades de ejemplo para una base de datos",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -15,7 +15,7 @@ import {
15
15
  RequestLocalPayment,
16
16
  RequestLocalTable,
17
17
  RequestProduct,
18
- RequestProductGroupComplement
18
+ RequestProductGroupComplement,
19
19
  } from "..";
20
20
  import { DateTransformer } from "../transformers/dateTransformer";
21
21
 
@@ -110,7 +110,7 @@ export class RequestLocal {
110
110
  (codeRedemptionHistoryUser) =>
111
111
  codeRedemptionHistoryUser.discount_redemption_request_locals,
112
112
  {
113
- onDelete: "CASCADE",
113
+ onDelete: "SET NULL",
114
114
  onUpdate: "NO ACTION",
115
115
  nullable: true,
116
116
  }