@felloh-org/lambda-wrapper 1.1.33 → 1.1.36
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.
- package/dist/entity/bank/amendment/index.js +52 -12
- package/dist/entity/bank/index.js +3 -1
- package/dist/entity/bank/vendor/index.js +57 -0
- package/dist/entity/payment/transaction/index.js +25 -15
- package/dist/index.js +8 -0
- package/dist/migration/1657630420519-amendment_undertaken_at.js +12 -0
- package/dist/migration/1657630681583-vendor.js +17 -0
- package/dist/migration/1657631323026-ammed_supplier_ref.js +12 -0
- package/dist/migration/1657637492675-transaction-provider-metadata.js +13 -0
- package/package.json +1 -1
|
@@ -9,7 +9,9 @@ var _typeorm = require("typeorm");
|
|
|
9
9
|
|
|
10
10
|
var _organisation = _interopRequireDefault(require("../../user/organisation"));
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _vendor = _interopRequireDefault(require("../vendor"));
|
|
13
|
+
|
|
14
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;
|
|
13
15
|
|
|
14
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
17
|
|
|
@@ -27,13 +29,23 @@ let Amendment = (_dec = (0, _typeorm.Entity)({
|
|
|
27
29
|
}), _dec4 = (0, _typeorm.ManyToOne)(() => _organisation.default), _dec5 = (0, _typeorm.JoinColumn)({
|
|
28
30
|
name: 'organisation_id',
|
|
29
31
|
referencedColumnName: 'id'
|
|
30
|
-
}), _dec6 = (0, _typeorm.
|
|
32
|
+
}), _dec6 = (0, _typeorm.ManyToOne)(() => _vendor.default), _dec7 = (0, _typeorm.JoinColumn)({
|
|
33
|
+
name: 'vendor_id',
|
|
34
|
+
referencedColumnName: 'id'
|
|
35
|
+
}), _dec8 = (0, _typeorm.Column)({
|
|
31
36
|
type: "varchar",
|
|
32
37
|
length: "1024",
|
|
33
38
|
nullable: true
|
|
34
|
-
}),
|
|
39
|
+
}), _dec9 = (0, _typeorm.Column)({
|
|
40
|
+
type: "varchar",
|
|
41
|
+
length: "250",
|
|
42
|
+
nullable: true
|
|
43
|
+
}), _dec10 = (0, _typeorm.Column)({
|
|
44
|
+
type: "timestamp with time zone",
|
|
45
|
+
nullable: true
|
|
46
|
+
}), _dec11 = (0, _typeorm.CreateDateColumn)({
|
|
35
47
|
type: 'timestamp with time zone'
|
|
36
|
-
}),
|
|
48
|
+
}), _dec12 = (0, _typeorm.UpdateDateColumn)({
|
|
37
49
|
type: 'timestamp with time zone'
|
|
38
50
|
}), _dec(_class = (_class2 = class Amendment {
|
|
39
51
|
constructor() {
|
|
@@ -43,11 +55,17 @@ let Amendment = (_dec = (0, _typeorm.Entity)({
|
|
|
43
55
|
|
|
44
56
|
_initializerDefineProperty(this, "organisation", _descriptor3, this);
|
|
45
57
|
|
|
46
|
-
_initializerDefineProperty(this, "
|
|
58
|
+
_initializerDefineProperty(this, "vendor", _descriptor4, this);
|
|
59
|
+
|
|
60
|
+
_initializerDefineProperty(this, "description", _descriptor5, this);
|
|
47
61
|
|
|
48
|
-
_initializerDefineProperty(this, "
|
|
62
|
+
_initializerDefineProperty(this, "supplier_reference", _descriptor6, this);
|
|
49
63
|
|
|
50
|
-
_initializerDefineProperty(this, "
|
|
64
|
+
_initializerDefineProperty(this, "undertaken_at", _descriptor7, this);
|
|
65
|
+
|
|
66
|
+
_initializerDefineProperty(this, "created_at", _descriptor8, this);
|
|
67
|
+
|
|
68
|
+
_initializerDefineProperty(this, "updated_at", _descriptor9, this);
|
|
51
69
|
}
|
|
52
70
|
|
|
53
71
|
getPublicData() {
|
|
@@ -56,10 +74,13 @@ let Amendment = (_dec = (0, _typeorm.Entity)({
|
|
|
56
74
|
amount: this.amount,
|
|
57
75
|
description: this.description,
|
|
58
76
|
created_at: this.created_at,
|
|
59
|
-
updated_at: this.updated_at
|
|
77
|
+
updated_at: this.updated_at,
|
|
78
|
+
undertaken_at: this.undertaken_at,
|
|
79
|
+
vendor: this.vendor,
|
|
80
|
+
supplier_reference: this.supplier_reference
|
|
60
81
|
};
|
|
61
82
|
|
|
62
|
-
if (typeof this.organisation !== 'undefined' && this.organisation !== null) {
|
|
83
|
+
if (typeof this.organisation !== 'undefined' && this.organisation !== null && typeof this.organisation.getPublicCompactData === 'function') {
|
|
63
84
|
response.organisation = this.organisation.getPublicCompactData();
|
|
64
85
|
}
|
|
65
86
|
|
|
@@ -85,19 +106,38 @@ let Amendment = (_dec = (0, _typeorm.Entity)({
|
|
|
85
106
|
initializer: function () {
|
|
86
107
|
return _organisation.default;
|
|
87
108
|
}
|
|
88
|
-
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
109
|
+
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "vendor", [_dec6, _dec7], {
|
|
110
|
+
configurable: true,
|
|
111
|
+
enumerable: true,
|
|
112
|
+
writable: true,
|
|
113
|
+
initializer: function () {
|
|
114
|
+
return _vendor.default;
|
|
115
|
+
}
|
|
116
|
+
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "description", [_dec8], {
|
|
89
117
|
configurable: true,
|
|
90
118
|
enumerable: true,
|
|
91
119
|
writable: true,
|
|
92
120
|
initializer: function () {
|
|
93
121
|
return "";
|
|
94
122
|
}
|
|
95
|
-
}),
|
|
123
|
+
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "supplier_reference", [_dec9], {
|
|
124
|
+
configurable: true,
|
|
125
|
+
enumerable: true,
|
|
126
|
+
writable: true,
|
|
127
|
+
initializer: function () {
|
|
128
|
+
return "";
|
|
129
|
+
}
|
|
130
|
+
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "undertaken_at", [_dec10], {
|
|
131
|
+
configurable: true,
|
|
132
|
+
enumerable: true,
|
|
133
|
+
writable: true,
|
|
134
|
+
initializer: null
|
|
135
|
+
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "created_at", [_dec11], {
|
|
96
136
|
configurable: true,
|
|
97
137
|
enumerable: true,
|
|
98
138
|
writable: true,
|
|
99
139
|
initializer: null
|
|
100
|
-
}),
|
|
140
|
+
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "updated_at", [_dec12], {
|
|
101
141
|
configurable: true,
|
|
102
142
|
enumerable: true,
|
|
103
143
|
writable: true,
|
|
@@ -19,8 +19,10 @@ var _beneficiary = _interopRequireDefault(require("./beneficiary"));
|
|
|
19
19
|
|
|
20
20
|
var _amendment = _interopRequireDefault(require("./amendment"));
|
|
21
21
|
|
|
22
|
+
var _vendor = _interopRequireDefault(require("./vendor"));
|
|
23
|
+
|
|
22
24
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
23
25
|
|
|
24
|
-
const ENTITIES = [_account.default, _amendment.default, _disbursal.default, _ledger.default, _settledTransaction.default, _transactionBatch.default, _beneficiary.default];
|
|
26
|
+
const ENTITIES = [_account.default, _amendment.default, _disbursal.default, _ledger.default, _settledTransaction.default, _transactionBatch.default, _beneficiary.default, _vendor.default];
|
|
25
27
|
var _default = ENTITIES;
|
|
26
28
|
exports.default = _default;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _typeorm = require("typeorm");
|
|
9
|
+
|
|
10
|
+
var _dec, _dec2, _dec3, _class, _class2, _descriptor, _descriptor2;
|
|
11
|
+
|
|
12
|
+
function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
|
|
13
|
+
|
|
14
|
+
function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
|
|
15
|
+
|
|
16
|
+
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
17
|
+
|
|
18
|
+
let Vendor = (_dec = (0, _typeorm.Entity)({
|
|
19
|
+
name: 'vendor',
|
|
20
|
+
schema: 'bank'
|
|
21
|
+
}), _dec2 = (0, _typeorm.PrimaryColumn)({
|
|
22
|
+
type: "varchar",
|
|
23
|
+
length: "150"
|
|
24
|
+
}), _dec3 = (0, _typeorm.Column)({
|
|
25
|
+
type: "varchar",
|
|
26
|
+
length: "150"
|
|
27
|
+
}), _dec(_class = (_class2 = class Vendor {
|
|
28
|
+
constructor() {
|
|
29
|
+
_initializerDefineProperty(this, "id", _descriptor, this);
|
|
30
|
+
|
|
31
|
+
_initializerDefineProperty(this, "name", _descriptor2, this);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
propgate(id, name) {
|
|
35
|
+
this.id = id;
|
|
36
|
+
this.name = name;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
getPublicData() {
|
|
40
|
+
return {
|
|
41
|
+
id: this.id,
|
|
42
|
+
name: this.name
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "id", [_dec2], {
|
|
47
|
+
configurable: true,
|
|
48
|
+
enumerable: true,
|
|
49
|
+
writable: true,
|
|
50
|
+
initializer: null
|
|
51
|
+
}), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, "name", [_dec3], {
|
|
52
|
+
configurable: true,
|
|
53
|
+
enumerable: true,
|
|
54
|
+
writable: true,
|
|
55
|
+
initializer: null
|
|
56
|
+
})), _class2)) || _class);
|
|
57
|
+
exports.default = Vendor;
|
|
@@ -29,7 +29,7 @@ var _transactionBatch = _interopRequireDefault(require("../../bank/transaction-b
|
|
|
29
29
|
|
|
30
30
|
var _transactionSource = _interopRequireDefault(require("../transaction-source"));
|
|
31
31
|
|
|
32
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _dec27, _dec28, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18;
|
|
32
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _dec27, _dec28, _dec29, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19;
|
|
33
33
|
|
|
34
34
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
35
35
|
|
|
@@ -84,16 +84,19 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
|
|
|
84
84
|
length: "250",
|
|
85
85
|
nullable: true
|
|
86
86
|
}), _dec24 = (0, _typeorm.Column)({
|
|
87
|
-
type: "
|
|
87
|
+
type: "json",
|
|
88
88
|
nullable: true
|
|
89
89
|
}), _dec25 = (0, _typeorm.Column)({
|
|
90
|
+
type: "timestamp with time zone",
|
|
91
|
+
nullable: true
|
|
92
|
+
}), _dec26 = (0, _typeorm.Column)({
|
|
90
93
|
type: "text",
|
|
91
94
|
nullable: true
|
|
92
|
-
}),
|
|
95
|
+
}), _dec27 = (0, _typeorm.CreateDateColumn)({
|
|
93
96
|
type: 'timestamp with time zone'
|
|
94
|
-
}),
|
|
97
|
+
}), _dec28 = (0, _typeorm.UpdateDateColumn)({
|
|
95
98
|
type: 'timestamp with time zone'
|
|
96
|
-
}),
|
|
99
|
+
}), _dec29 = (0, _typeorm.OneToMany)(() => _transactionBatch.default, transactionBatch => transactionBatch.transaction), _dec(_class = (_class2 = class Transaction {
|
|
97
100
|
constructor() {
|
|
98
101
|
_initializerDefineProperty(this, "id", _descriptor, this);
|
|
99
102
|
|
|
@@ -121,15 +124,17 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
|
|
|
121
124
|
|
|
122
125
|
_initializerDefineProperty(this, "provider_reference", _descriptor13, this);
|
|
123
126
|
|
|
124
|
-
_initializerDefineProperty(this, "
|
|
127
|
+
_initializerDefineProperty(this, "provider_metadata", _descriptor14, this);
|
|
128
|
+
|
|
129
|
+
_initializerDefineProperty(this, "completed_at", _descriptor15, this);
|
|
125
130
|
|
|
126
|
-
_initializerDefineProperty(this, "message",
|
|
131
|
+
_initializerDefineProperty(this, "message", _descriptor16, this);
|
|
127
132
|
|
|
128
|
-
_initializerDefineProperty(this, "created_at",
|
|
133
|
+
_initializerDefineProperty(this, "created_at", _descriptor17, this);
|
|
129
134
|
|
|
130
|
-
_initializerDefineProperty(this, "updated_at",
|
|
135
|
+
_initializerDefineProperty(this, "updated_at", _descriptor18, this);
|
|
131
136
|
|
|
132
|
-
_initializerDefineProperty(this, "batch",
|
|
137
|
+
_initializerDefineProperty(this, "batch", _descriptor19, this);
|
|
133
138
|
}
|
|
134
139
|
|
|
135
140
|
getPublicData() {
|
|
@@ -267,27 +272,32 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
|
|
|
267
272
|
initializer: function () {
|
|
268
273
|
return "";
|
|
269
274
|
}
|
|
270
|
-
}), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
275
|
+
}), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "provider_metadata", [_dec24], {
|
|
276
|
+
configurable: true,
|
|
277
|
+
enumerable: true,
|
|
278
|
+
writable: true,
|
|
279
|
+
initializer: null
|
|
280
|
+
}), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, "completed_at", [_dec25], {
|
|
271
281
|
configurable: true,
|
|
272
282
|
enumerable: true,
|
|
273
283
|
writable: true,
|
|
274
284
|
initializer: null
|
|
275
|
-
}),
|
|
285
|
+
}), _descriptor16 = _applyDecoratedDescriptor(_class2.prototype, "message", [_dec26], {
|
|
276
286
|
configurable: true,
|
|
277
287
|
enumerable: true,
|
|
278
288
|
writable: true,
|
|
279
289
|
initializer: null
|
|
280
|
-
}),
|
|
290
|
+
}), _descriptor17 = _applyDecoratedDescriptor(_class2.prototype, "created_at", [_dec27], {
|
|
281
291
|
configurable: true,
|
|
282
292
|
enumerable: true,
|
|
283
293
|
writable: true,
|
|
284
294
|
initializer: null
|
|
285
|
-
}),
|
|
295
|
+
}), _descriptor18 = _applyDecoratedDescriptor(_class2.prototype, "updated_at", [_dec28], {
|
|
286
296
|
configurable: true,
|
|
287
297
|
enumerable: true,
|
|
288
298
|
writable: true,
|
|
289
299
|
initializer: null
|
|
290
|
-
}),
|
|
300
|
+
}), _descriptor19 = _applyDecoratedDescriptor(_class2.prototype, "batch", [_dec29], {
|
|
291
301
|
configurable: true,
|
|
292
302
|
enumerable: true,
|
|
293
303
|
writable: true,
|
package/dist/index.js
CHANGED
|
@@ -393,6 +393,12 @@ Object.defineProperty(exports, "UserRoleEntity", {
|
|
|
393
393
|
return _userRole.default;
|
|
394
394
|
}
|
|
395
395
|
});
|
|
396
|
+
Object.defineProperty(exports, "VendorEntity", {
|
|
397
|
+
enumerable: true,
|
|
398
|
+
get: function () {
|
|
399
|
+
return _vendor.default;
|
|
400
|
+
}
|
|
401
|
+
});
|
|
396
402
|
Object.defineProperty(exports, "WarehouseService", {
|
|
397
403
|
enumerable: true,
|
|
398
404
|
get: function () {
|
|
@@ -436,6 +442,8 @@ var _transactionBatch = _interopRequireDefault(require("./entity/bank/transactio
|
|
|
436
442
|
|
|
437
443
|
var _beneficiary = _interopRequireDefault(require("./entity/bank/beneficiary"));
|
|
438
444
|
|
|
445
|
+
var _vendor = _interopRequireDefault(require("./entity/bank/vendor"));
|
|
446
|
+
|
|
439
447
|
var _account2 = _interopRequireDefault(require("./entity/nuapay/account"));
|
|
440
448
|
|
|
441
449
|
var _balance = _interopRequireDefault(require("./entity/nuapay/balance"));
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const { MigrationInterface, QueryRunner } = require("typeorm");
|
|
2
|
+
|
|
3
|
+
module.exports = class amendmentUndertakenAt1657630420519 {
|
|
4
|
+
name = 'amendmentUndertakenAt1657630420519'
|
|
5
|
+
|
|
6
|
+
async up(queryRunner) {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE "bank"."amendment" ADD "undertaken_at" TIMESTAMP WITH TIME ZONE`);}
|
|
8
|
+
|
|
9
|
+
async down(queryRunner) {
|
|
10
|
+
await queryRunner.query(`ALTER TABLE "bank"."amendment" DROP COLUMN "undertaken_at"`);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const { MigrationInterface, QueryRunner } = require("typeorm");
|
|
2
|
+
|
|
3
|
+
module.exports = class vendor1657630681583 {
|
|
4
|
+
name = 'vendor1657630681583'
|
|
5
|
+
|
|
6
|
+
async up(queryRunner) {
|
|
7
|
+
await queryRunner.query(`CREATE TABLE "bank"."vendor" ("id" character varying(150) NOT NULL, "name" character varying(150) NOT NULL, CONSTRAINT "PK_931a23f6231a57604f5a0e32780" PRIMARY KEY ("id"))`);
|
|
8
|
+
await queryRunner.query(`ALTER TABLE "bank"."amendment" ADD "vendor_id" character varying(150)`);
|
|
9
|
+
await queryRunner.query(`ALTER TABLE "bank"."amendment" ADD CONSTRAINT "FK_0b58034a4d0979aeda96a85221a" FOREIGN KEY ("vendor_id") REFERENCES "bank"."vendor"("id") ON DELETE NO ACTION ON UPDATE NO ACTION`);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
async down(queryRunner) {
|
|
13
|
+
await queryRunner.query(`ALTER TABLE "bank"."amendment" DROP CONSTRAINT "FK_0b58034a4d0979aeda96a85221a"`);
|
|
14
|
+
await queryRunner.query(`ALTER TABLE "bank"."amendment" DROP COLUMN "vendor_id"`);
|
|
15
|
+
await queryRunner.query(`DROP TABLE "bank"."vendor"`);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const { MigrationInterface, QueryRunner } = require("typeorm");
|
|
2
|
+
|
|
3
|
+
module.exports = class ammedSupplierRef1657631323026 {
|
|
4
|
+
name = 'ammedSupplierRef1657631323026'
|
|
5
|
+
|
|
6
|
+
async up(queryRunner) {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE "bank"."amendment" ADD "supplier_reference" character varying(250)`);}
|
|
8
|
+
|
|
9
|
+
async down(queryRunner) {
|
|
10
|
+
await queryRunner.query(`ALTER TABLE "bank"."amendment" DROP COLUMN "supplier_reference"`);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const { MigrationInterface, QueryRunner } = require("typeorm");
|
|
2
|
+
|
|
3
|
+
module.exports = class transactionProviderMetadata1657637492675 {
|
|
4
|
+
name = 'transactionProviderMetadata1657637492675'
|
|
5
|
+
|
|
6
|
+
async up(queryRunner) {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE "payment"."transaction" ADD "provider_metadata" json`);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
async down(queryRunner) {
|
|
11
|
+
await queryRunner.query(`ALTER TABLE "payment"."transaction" DROP COLUMN "provider_metadata"`);
|
|
12
|
+
}
|
|
13
|
+
}
|