@felloh-org/lambda-wrapper 1.4.4 → 1.5.1
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/disbursal/index.js +13 -1
- package/dist/entity/nuvei/transaction-metadata/index.js +151 -24
- package/dist/migration/bank/1670929960647-disbursal_updated_legacy_system.js +13 -0
- package/dist/migration/nuvei/1670420255443-add-nuvei-webhook-additional-columns-to-trnasaction-metadata.js +41 -0
- package/package.json +1 -1
|
@@ -15,7 +15,7 @@ var _transactionBatch = _interopRequireDefault(require("../transaction-batch"));
|
|
|
15
15
|
|
|
16
16
|
var _currency = require("../currency");
|
|
17
17
|
|
|
18
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11;
|
|
18
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12;
|
|
19
19
|
|
|
20
20
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21
21
|
|
|
@@ -55,6 +55,9 @@ let Disbursal = (_dec = (0, _typeorm.Entity)({
|
|
|
55
55
|
}), _dec14 = (0, _typeorm.Column)({
|
|
56
56
|
type: "boolean",
|
|
57
57
|
default: false
|
|
58
|
+
}), _dec15 = (0, _typeorm.Column)({
|
|
59
|
+
type: "boolean",
|
|
60
|
+
default: false
|
|
58
61
|
}), _dec(_class = (_class2 = class Disbursal {
|
|
59
62
|
constructor() {
|
|
60
63
|
_initializerDefineProperty(this, "id", _descriptor, this);
|
|
@@ -78,6 +81,8 @@ let Disbursal = (_dec = (0, _typeorm.Entity)({
|
|
|
78
81
|
_initializerDefineProperty(this, "is_ledgered", _descriptor10, this);
|
|
79
82
|
|
|
80
83
|
_initializerDefineProperty(this, "is_manual_review", _descriptor11, this);
|
|
84
|
+
|
|
85
|
+
_initializerDefineProperty(this, "updated_legacy_system", _descriptor12, this);
|
|
81
86
|
}
|
|
82
87
|
|
|
83
88
|
getPublicData() {
|
|
@@ -161,5 +166,12 @@ let Disbursal = (_dec = (0, _typeorm.Entity)({
|
|
|
161
166
|
initializer: function () {
|
|
162
167
|
return false;
|
|
163
168
|
}
|
|
169
|
+
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "updated_legacy_system", [_dec15], {
|
|
170
|
+
configurable: true,
|
|
171
|
+
enumerable: true,
|
|
172
|
+
writable: true,
|
|
173
|
+
initializer: function () {
|
|
174
|
+
return false;
|
|
175
|
+
}
|
|
164
176
|
})), _class2)) || _class);
|
|
165
177
|
exports.default = Disbursal;
|
|
@@ -7,7 +7,7 @@ exports.default = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _typeorm = require("typeorm");
|
|
9
9
|
|
|
10
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;
|
|
10
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21;
|
|
11
11
|
|
|
12
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
13
|
|
|
@@ -19,50 +19,117 @@ let TransactionMetadata = (_dec = (0, _typeorm.Entity)({
|
|
|
19
19
|
name: 'transaction_metadata',
|
|
20
20
|
schema: 'nuvei'
|
|
21
21
|
}), _dec2 = (0, _typeorm.PrimaryColumn)("varchar"), _dec3 = (0, _typeorm.Column)({
|
|
22
|
-
type: "timestamp without time zone"
|
|
22
|
+
type: "timestamp without time zone",
|
|
23
|
+
nullable: true
|
|
23
24
|
}), _dec4 = (0, _typeorm.Column)({
|
|
24
25
|
type: "varchar",
|
|
25
|
-
length:
|
|
26
|
+
length: 5
|
|
26
27
|
}), _dec5 = (0, _typeorm.Column)({
|
|
28
|
+
type: "varchar",
|
|
29
|
+
length: "20"
|
|
30
|
+
}), _dec6 = (0, _typeorm.Column)({
|
|
31
|
+
type: "varchar",
|
|
32
|
+
length: "20",
|
|
33
|
+
nullable: true
|
|
34
|
+
}), _dec7 = (0, _typeorm.Column)({
|
|
27
35
|
type: "varchar",
|
|
28
36
|
nullable: true,
|
|
29
37
|
length: 25
|
|
30
|
-
}),
|
|
38
|
+
}), _dec8 = (0, _typeorm.Column)({
|
|
31
39
|
type: "varchar",
|
|
32
40
|
length: 25
|
|
33
|
-
}),
|
|
41
|
+
}), _dec9 = (0, _typeorm.Column)({
|
|
42
|
+
type: "varchar",
|
|
43
|
+
length: 25,
|
|
44
|
+
default: "UNKNOWN"
|
|
45
|
+
}), _dec10 = (0, _typeorm.Column)({
|
|
46
|
+
type: "varchar",
|
|
47
|
+
length: 30
|
|
48
|
+
}), _dec11 = (0, _typeorm.Column)({
|
|
34
49
|
type: "varchar",
|
|
35
50
|
length: 20
|
|
36
|
-
}),
|
|
51
|
+
}), _dec12 = (0, _typeorm.Column)({
|
|
37
52
|
type: "varchar",
|
|
38
53
|
length: 150
|
|
39
|
-
}),
|
|
54
|
+
}), _dec13 = (0, _typeorm.Column)({
|
|
55
|
+
type: "varchar",
|
|
56
|
+
length: 5,
|
|
57
|
+
nullable: true
|
|
58
|
+
}), _dec14 = (0, _typeorm.Column)({
|
|
40
59
|
type: "varchar",
|
|
41
60
|
nullable: true,
|
|
42
61
|
length: 150
|
|
43
|
-
}),
|
|
62
|
+
}), _dec15 = (0, _typeorm.Column)({
|
|
44
63
|
type: "varchar",
|
|
45
64
|
nullable: true,
|
|
46
65
|
length: 25
|
|
66
|
+
}), _dec16 = (0, _typeorm.Column)({
|
|
67
|
+
type: "varchar",
|
|
68
|
+
length: 5,
|
|
69
|
+
nullable: true
|
|
70
|
+
}), _dec17 = (0, _typeorm.Column)({
|
|
71
|
+
type: "varchar",
|
|
72
|
+
length: 5,
|
|
73
|
+
nullable: true
|
|
74
|
+
}), _dec18 = (0, _typeorm.Column)({
|
|
75
|
+
type: "varchar",
|
|
76
|
+
length: 20,
|
|
77
|
+
nullable: true
|
|
78
|
+
}), _dec19 = (0, _typeorm.Column)({
|
|
79
|
+
type: "varchar",
|
|
80
|
+
length: 20
|
|
81
|
+
}), _dec20 = (0, _typeorm.Column)({
|
|
82
|
+
type: "varchar",
|
|
83
|
+
length: 20
|
|
84
|
+
}), _dec21 = (0, _typeorm.Column)({
|
|
85
|
+
type: "timestamp without time zone",
|
|
86
|
+
nullable: true
|
|
87
|
+
}), _dec22 = (0, _typeorm.Column)({
|
|
88
|
+
type: "timestamp without time zone",
|
|
89
|
+
nullable: true
|
|
47
90
|
}), _dec(_class = (_class2 = class TransactionMetadata {
|
|
48
91
|
constructor() {
|
|
49
92
|
_initializerDefineProperty(this, "transaction_id", _descriptor, this);
|
|
50
93
|
|
|
51
|
-
_initializerDefineProperty(this, "
|
|
94
|
+
_initializerDefineProperty(this, "transaction_date", _descriptor2, this);
|
|
95
|
+
|
|
96
|
+
_initializerDefineProperty(this, "currency", _descriptor3, this);
|
|
97
|
+
|
|
98
|
+
_initializerDefineProperty(this, "payment_brand", _descriptor4, this);
|
|
99
|
+
|
|
100
|
+
_initializerDefineProperty(this, "payment_type", _descriptor5, this);
|
|
101
|
+
|
|
102
|
+
_initializerDefineProperty(this, "issuing_country", _descriptor6, this);
|
|
103
|
+
|
|
104
|
+
_initializerDefineProperty(this, "bin", _descriptor7, this);
|
|
105
|
+
|
|
106
|
+
_initializerDefineProperty(this, "bin_type", _descriptor8, this);
|
|
107
|
+
|
|
108
|
+
_initializerDefineProperty(this, "card_number", _descriptor9, this);
|
|
109
|
+
|
|
110
|
+
_initializerDefineProperty(this, "card_type", _descriptor10, this);
|
|
52
111
|
|
|
53
|
-
_initializerDefineProperty(this, "
|
|
112
|
+
_initializerDefineProperty(this, "cardholder_name", _descriptor11, this);
|
|
54
113
|
|
|
55
|
-
_initializerDefineProperty(this, "
|
|
114
|
+
_initializerDefineProperty(this, "last_four_digits", _descriptor12, this);
|
|
56
115
|
|
|
57
|
-
_initializerDefineProperty(this, "
|
|
116
|
+
_initializerDefineProperty(this, "card_brand", _descriptor13, this);
|
|
58
117
|
|
|
59
|
-
_initializerDefineProperty(this, "
|
|
118
|
+
_initializerDefineProperty(this, "card_product_brand", _descriptor14, this);
|
|
60
119
|
|
|
61
|
-
_initializerDefineProperty(this, "
|
|
120
|
+
_initializerDefineProperty(this, "expiry_month", _descriptor15, this);
|
|
62
121
|
|
|
63
|
-
_initializerDefineProperty(this, "
|
|
122
|
+
_initializerDefineProperty(this, "expiry_year", _descriptor16, this);
|
|
64
123
|
|
|
65
|
-
_initializerDefineProperty(this, "
|
|
124
|
+
_initializerDefineProperty(this, "acquirer_id", _descriptor17, this);
|
|
125
|
+
|
|
126
|
+
_initializerDefineProperty(this, "cvv_to_reply", _descriptor18, this);
|
|
127
|
+
|
|
128
|
+
_initializerDefineProperty(this, "avs_code", _descriptor19, this);
|
|
129
|
+
|
|
130
|
+
_initializerDefineProperty(this, "webhook_date", _descriptor20, this);
|
|
131
|
+
|
|
132
|
+
_initializerDefineProperty(this, "report_date", _descriptor21, this);
|
|
66
133
|
}
|
|
67
134
|
|
|
68
135
|
}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "transaction_id", [_dec2], {
|
|
@@ -72,42 +139,102 @@ let TransactionMetadata = (_dec = (0, _typeorm.Entity)({
|
|
|
72
139
|
initializer: function () {
|
|
73
140
|
return undefined;
|
|
74
141
|
}
|
|
75
|
-
}), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
142
|
+
}), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, "transaction_date", [_dec3], {
|
|
143
|
+
configurable: true,
|
|
144
|
+
enumerable: true,
|
|
145
|
+
writable: true,
|
|
146
|
+
initializer: null
|
|
147
|
+
}), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, "currency", [_dec4], {
|
|
148
|
+
configurable: true,
|
|
149
|
+
enumerable: true,
|
|
150
|
+
writable: true,
|
|
151
|
+
initializer: null
|
|
152
|
+
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "payment_brand", [_dec5], {
|
|
153
|
+
configurable: true,
|
|
154
|
+
enumerable: true,
|
|
155
|
+
writable: true,
|
|
156
|
+
initializer: null
|
|
157
|
+
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "payment_type", [_dec6], {
|
|
158
|
+
configurable: true,
|
|
159
|
+
enumerable: true,
|
|
160
|
+
writable: true,
|
|
161
|
+
initializer: null
|
|
162
|
+
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "issuing_country", [_dec7], {
|
|
163
|
+
configurable: true,
|
|
164
|
+
enumerable: true,
|
|
165
|
+
writable: true,
|
|
166
|
+
initializer: null
|
|
167
|
+
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "bin", [_dec8], {
|
|
168
|
+
configurable: true,
|
|
169
|
+
enumerable: true,
|
|
170
|
+
writable: true,
|
|
171
|
+
initializer: null
|
|
172
|
+
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "bin_type", [_dec9], {
|
|
173
|
+
configurable: true,
|
|
174
|
+
enumerable: true,
|
|
175
|
+
writable: true,
|
|
176
|
+
initializer: null
|
|
177
|
+
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "card_number", [_dec10], {
|
|
178
|
+
configurable: true,
|
|
179
|
+
enumerable: true,
|
|
180
|
+
writable: true,
|
|
181
|
+
initializer: null
|
|
182
|
+
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "card_type", [_dec11], {
|
|
183
|
+
configurable: true,
|
|
184
|
+
enumerable: true,
|
|
185
|
+
writable: true,
|
|
186
|
+
initializer: null
|
|
187
|
+
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "cardholder_name", [_dec12], {
|
|
188
|
+
configurable: true,
|
|
189
|
+
enumerable: true,
|
|
190
|
+
writable: true,
|
|
191
|
+
initializer: null
|
|
192
|
+
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "last_four_digits", [_dec13], {
|
|
193
|
+
configurable: true,
|
|
194
|
+
enumerable: true,
|
|
195
|
+
writable: true,
|
|
196
|
+
initializer: null
|
|
197
|
+
}), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, "card_brand", [_dec14], {
|
|
198
|
+
configurable: true,
|
|
199
|
+
enumerable: true,
|
|
200
|
+
writable: true,
|
|
201
|
+
initializer: null
|
|
202
|
+
}), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "card_product_brand", [_dec15], {
|
|
76
203
|
configurable: true,
|
|
77
204
|
enumerable: true,
|
|
78
205
|
writable: true,
|
|
79
206
|
initializer: null
|
|
80
|
-
}),
|
|
207
|
+
}), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, "expiry_month", [_dec16], {
|
|
81
208
|
configurable: true,
|
|
82
209
|
enumerable: true,
|
|
83
210
|
writable: true,
|
|
84
211
|
initializer: null
|
|
85
|
-
}),
|
|
212
|
+
}), _descriptor16 = _applyDecoratedDescriptor(_class2.prototype, "expiry_year", [_dec17], {
|
|
86
213
|
configurable: true,
|
|
87
214
|
enumerable: true,
|
|
88
215
|
writable: true,
|
|
89
216
|
initializer: null
|
|
90
|
-
}),
|
|
217
|
+
}), _descriptor17 = _applyDecoratedDescriptor(_class2.prototype, "acquirer_id", [_dec18], {
|
|
91
218
|
configurable: true,
|
|
92
219
|
enumerable: true,
|
|
93
220
|
writable: true,
|
|
94
221
|
initializer: null
|
|
95
|
-
}),
|
|
222
|
+
}), _descriptor18 = _applyDecoratedDescriptor(_class2.prototype, "cvv_to_reply", [_dec19], {
|
|
96
223
|
configurable: true,
|
|
97
224
|
enumerable: true,
|
|
98
225
|
writable: true,
|
|
99
226
|
initializer: null
|
|
100
|
-
}),
|
|
227
|
+
}), _descriptor19 = _applyDecoratedDescriptor(_class2.prototype, "avs_code", [_dec20], {
|
|
101
228
|
configurable: true,
|
|
102
229
|
enumerable: true,
|
|
103
230
|
writable: true,
|
|
104
231
|
initializer: null
|
|
105
|
-
}),
|
|
232
|
+
}), _descriptor20 = _applyDecoratedDescriptor(_class2.prototype, "webhook_date", [_dec21], {
|
|
106
233
|
configurable: true,
|
|
107
234
|
enumerable: true,
|
|
108
235
|
writable: true,
|
|
109
236
|
initializer: null
|
|
110
|
-
}),
|
|
237
|
+
}), _descriptor21 = _applyDecoratedDescriptor(_class2.prototype, "report_date", [_dec22], {
|
|
111
238
|
configurable: true,
|
|
112
239
|
enumerable: true,
|
|
113
240
|
writable: true,
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const { MigrationInterface, QueryRunner } = require("typeorm");
|
|
2
|
+
|
|
3
|
+
module.exports = class disbursalUpdatedLegacySystem1670929960647 {
|
|
4
|
+
name = 'disbursalUpdatedLegacySystem1670929960647'
|
|
5
|
+
|
|
6
|
+
async up(queryRunner) {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE "bank"."disbursal" ADD "updated_legacy_system" boolean NOT NULL DEFAULT false`);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
async down(queryRunner) {
|
|
11
|
+
await queryRunner.query(`ALTER TABLE "bank"."disbursal" DROP COLUMN "updated_legacy_system"`);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
const { MigrationInterface, QueryRunner } = require("typeorm");
|
|
2
|
+
|
|
3
|
+
module.exports = class addNuveiWebhookAdditionalColumnsToTrnasactionMetadata1670420255443 {
|
|
4
|
+
name = 'addNuveiWebhookAdditionalColumnsToTrnasactionMetadata1670420255443'
|
|
5
|
+
|
|
6
|
+
async up(queryRunner) {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE "nuvei"."transaction_metadata" RENAME "payment_method" to "payment_brand"`);
|
|
8
|
+
await queryRunner.query(`ALTER TABLE "nuvei"."transaction_metadata" AlTER COLUMN "date" DROP NOT NULL`);
|
|
9
|
+
await queryRunner.query(`ALTER TABLE "nuvei"."transaction_metadata" RENAME "date" to "transaction_date"`);
|
|
10
|
+
await queryRunner.query(`ALTER TABLE "nuvei"."transaction_metadata" ADD "currency" character varying(5)`);
|
|
11
|
+
await queryRunner.query(`ALTER TABLE "nuvei"."transaction_metadata" ADD "payment_type" character varying(20)`);
|
|
12
|
+
await queryRunner.query(`ALTER TABLE "nuvei"."transaction_metadata" ADD "bin_type" character varying(25) NOT NULL DEFAULT 'UNKNOWN'`);
|
|
13
|
+
await queryRunner.query(`ALTER TABLE "nuvei"."transaction_metadata" ADD "card_number" character varying(30)`);
|
|
14
|
+
await queryRunner.query(`ALTER TABLE "nuvei"."transaction_metadata" ADD "last_four_digits" character varying(5)`);
|
|
15
|
+
await queryRunner.query(`ALTER TABLE "nuvei"."transaction_metadata" ADD "expiry_month" character varying(5)`);
|
|
16
|
+
await queryRunner.query(`ALTER TABLE "nuvei"."transaction_metadata" ADD "expiry_year" character varying(5)`);
|
|
17
|
+
await queryRunner.query(`ALTER TABLE "nuvei"."transaction_metadata" ADD "acquirer_id" character varying(20)`);
|
|
18
|
+
await queryRunner.query(`ALTER TABLE "nuvei"."transaction_metadata" ADD "cvv_to_reply" character varying(20)`);
|
|
19
|
+
await queryRunner.query(`ALTER TABLE "nuvei"."transaction_metadata" ADD "avs_code" character varying(20)`);
|
|
20
|
+
await queryRunner.query(`ALTER TABLE "nuvei"."transaction_metadata" ADD "webhook_date" TIMESTAMP`);
|
|
21
|
+
await queryRunner.query(`ALTER TABLE "nuvei"."transaction_metadata" ADD "report_date" TIMESTAMP`);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
async down(queryRunner) {
|
|
25
|
+
await queryRunner.query(`ALTER TABLE "nuvei"."transaction_metadata" RENAME "payment_brand" to "payment_method"`);
|
|
26
|
+
await queryRunner.query(`ALTER TABLE "nuvei"."transaction_metadata" RENAME "transaction_date" to "date"`);
|
|
27
|
+
await queryRunner.query(`ALTER TABLE "nuvei"."transaction_metadata" AlTER COLUMN "date" SET NOT NULL`);
|
|
28
|
+
await queryRunner.query(`ALTER TABLE "nuvei"."transaction_metadata" DROP COLUMN "avs_code"`);
|
|
29
|
+
await queryRunner.query(`ALTER TABLE "nuvei"."transaction_metadata" DROP COLUMN "cvv_to_reply"`);
|
|
30
|
+
await queryRunner.query(`ALTER TABLE "nuvei"."transaction_metadata" DROP COLUMN "acquirer_id"`);
|
|
31
|
+
await queryRunner.query(`ALTER TABLE "nuvei"."transaction_metadata" DROP COLUMN "expiry_year"`);
|
|
32
|
+
await queryRunner.query(`ALTER TABLE "nuvei"."transaction_metadata" DROP COLUMN "expiry_month"`);
|
|
33
|
+
await queryRunner.query(`ALTER TABLE "nuvei"."transaction_metadata" DROP COLUMN "last_four_digits"`);
|
|
34
|
+
await queryRunner.query(`ALTER TABLE "nuvei"."transaction_metadata" DROP COLUMN "card_number"`);
|
|
35
|
+
await queryRunner.query(`ALTER TABLE "nuvei"."transaction_metadata" DROP COLUMN "bin_type"`);
|
|
36
|
+
await queryRunner.query(`ALTER TABLE "nuvei"."transaction_metadata" DROP COLUMN "payment_type"`);
|
|
37
|
+
await queryRunner.query(`ALTER TABLE "nuvei"."transaction_metadata" DROP COLUMN "currency"`);
|
|
38
|
+
await queryRunner.query(`ALTER TABLE "nuvei"."transaction_metadata" DROP COLUMN "report_date"`);
|
|
39
|
+
await queryRunner.query(`ALTER TABLE "nuvei"."transaction_metadata" DROP COLUMN "webhook_date"`);
|
|
40
|
+
}
|
|
41
|
+
}
|