@felloh-org/lambda-wrapper 1.9.3 → 1.9.4

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.
@@ -66,10 +66,12 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
66
66
  length: "100"
67
67
  }), _dec16 = (0, _typeorm.Column)({
68
68
  type: "varchar",
69
- length: "100"
69
+ length: "100",
70
+ nullable: true
70
71
  }), _dec17 = (0, _typeorm.Column)({
71
72
  type: "varchar",
72
- length: "50"
73
+ length: "50",
74
+ nullable: true
73
75
  }), _dec18 = (0, _typeorm.Column)({
74
76
  type: "varchar",
75
77
  length: "100",
@@ -0,0 +1,15 @@
1
+ const { MigrationInterface, QueryRunner } = require("typeorm");
2
+
3
+ module.exports = class saltedgeTxTypeNullable1680526517354 {
4
+ name = 'saltedgeTxTypeNullable1680526517354'
5
+
6
+ async up(queryRunner) {
7
+ await queryRunner.query(`ALTER TABLE "saltedge"."transaction" ALTER COLUMN "type" DROP NOT NULL`);
8
+ await queryRunner.query(`ALTER TABLE "saltedge"."transaction" ALTER COLUMN "typeCode" DROP NOT NULL`);
9
+ }
10
+
11
+ async down(queryRunner) {
12
+ await queryRunner.query(`ALTER TABLE "saltedge"."transaction" ALTER COLUMN "typeCode" SET NOT NULL`);
13
+ await queryRunner.query(`ALTER TABLE "saltedge"."transaction" ALTER COLUMN "type" 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.9.3",
3
+ "version": "1.9.4",
4
4
  "description": "Lambda wrapper for all Felloh Serverless Projects",
5
5
  "main": "dist/index.js",
6
6
  "engines": {