@felloh-org/lambda-wrapper 1.11.20 → 1.11.21

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.
@@ -67,9 +67,11 @@ let BinRules = (_dec = (0, _typeorm.Entity)({
67
67
  nullable: true
68
68
  }), _dec15 = (0, _typeorm.Column)('decimal', {
69
69
  precision: 6,
70
- scale: 2
70
+ scale: 2,
71
+ nullable: true
71
72
  }), _dec16 = (0, _typeorm.Column)({
72
- type: "int"
73
+ type: "int",
74
+ nullable: true
73
75
  }), _dec17 = (0, _typeorm.CreateDateColumn)(), _dec(_class = (_class2 = class BinRules {
74
76
  constructor() {
75
77
  _initializerDefineProperty(this, "id", _descriptor, this);
@@ -0,0 +1,15 @@
1
+ const { MigrationInterface, QueryRunner } = require("typeorm");
2
+
3
+ module.exports = class acquirerBinRulesNullable1692878000108 {
4
+ name = 'acquirerBinRulesNullable1692878000108'
5
+
6
+ async up(queryRunner) {
7
+ await queryRunner.query(`ALTER TABLE "acquirer"."bin_rules" ALTER COLUMN "percentage" DROP NOT NULL`);
8
+ await queryRunner.query(`ALTER TABLE "acquirer"."bin_rules" ALTER COLUMN "amount" DROP NOT NULL`);
9
+ }
10
+
11
+ async down(queryRunner) {
12
+ await queryRunner.query(`ALTER TABLE "acquirer"."bin_rules" ALTER COLUMN "amount" SET NOT NULL`);
13
+ await queryRunner.query(`ALTER TABLE "acquirer"."bin_rules" ALTER COLUMN "percentage" SET NOT NULL`);
14
+ }
15
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@felloh-org/lambda-wrapper",
3
- "version": "1.11.20",
3
+ "version": "1.11.21",
4
4
  "description": "Lambda wrapper for all Felloh Serverless Projects",
5
5
  "main": "dist/index.js",
6
6
  "engines": {