@felloh-org/lambda-wrapper 1.11.75 → 1.11.77
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/acquirer/band_rate/index.js +1 -1
- package/dist/entity/acquirer/fee/index.js +4 -4
- package/dist/migration/acquirer/1709030948477-update_precission_fee.js +19 -0
- package/dist/migration/acquirer/1709822228302-update_precission_band_rate.js +13 -0
- package/package.json +1 -1
- /package/dist/migration/{1708616903284-field_length.js → acquirer/1708616903284-field_length.js} +0 -0
|
@@ -36,7 +36,7 @@ let BandRate = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
|
36
36
|
referencedColumnName: 'id'
|
|
37
37
|
}), _dec6 = (0, _typeorm.Column)('decimal', {
|
|
38
38
|
precision: 6,
|
|
39
|
-
scale:
|
|
39
|
+
scale: 3,
|
|
40
40
|
nullable: true
|
|
41
41
|
}), _dec(_class = (_class2 = class BandRate {
|
|
42
42
|
constructor() {
|
|
@@ -36,19 +36,19 @@ let Fee = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
|
36
36
|
nullable: true
|
|
37
37
|
}), _dec7 = (0, _typeorm.Column)('decimal', {
|
|
38
38
|
precision: 6,
|
|
39
|
-
scale:
|
|
39
|
+
scale: 3,
|
|
40
40
|
nullable: true
|
|
41
41
|
}), _dec8 = (0, _typeorm.Column)('decimal', {
|
|
42
42
|
precision: 6,
|
|
43
|
-
scale:
|
|
43
|
+
scale: 3,
|
|
44
44
|
nullable: true
|
|
45
45
|
}), _dec9 = (0, _typeorm.Column)('decimal', {
|
|
46
46
|
precision: 6,
|
|
47
|
-
scale:
|
|
47
|
+
scale: 3,
|
|
48
48
|
nullable: true
|
|
49
49
|
}), _dec10 = (0, _typeorm.Column)('decimal', {
|
|
50
50
|
precision: 6,
|
|
51
|
-
scale:
|
|
51
|
+
scale: 3,
|
|
52
52
|
nullable: true
|
|
53
53
|
}), _dec(_class = (_class2 = class Fee {
|
|
54
54
|
constructor() {
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const { MigrationInterface, QueryRunner } = require("typeorm");
|
|
2
|
+
|
|
3
|
+
module.exports = class updatePrecissionFee1709030948477 {
|
|
4
|
+
name = 'updatePrecissionFee1709030948477'
|
|
5
|
+
|
|
6
|
+
async up(queryRunner) {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE "acquirer"."fee" ALTER COLUMN "cost" TYPE numeric(6,3)`);
|
|
8
|
+
await queryRunner.query(`ALTER TABLE "acquirer"."fee" ALTER COLUMN "interchange" TYPE numeric(6,3)`);
|
|
9
|
+
await queryRunner.query(`ALTER TABLE "acquirer"."fee" ALTER COLUMN "scheme_fee" TYPE numeric(6,3)`);
|
|
10
|
+
await queryRunner.query(`ALTER TABLE "acquirer"."fee" ALTER COLUMN "acquirer" TYPE numeric(6,3)`);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
async down(queryRunner) {
|
|
14
|
+
await queryRunner.query(`ALTER TABLE "acquirer"."fee" ALTER COLUMN "acquirer" TYPE numeric(6,2)`);
|
|
15
|
+
await queryRunner.query(`ALTER TABLE "acquirer"."fee" ALTER COLUMN "scheme_fee" TYPE numeric(6,2)`);
|
|
16
|
+
await queryRunner.query(`ALTER TABLE "acquirer"."fee" ALTER COLUMN "interchange" TYPE numeric(6,2)`);
|
|
17
|
+
await queryRunner.query(`ALTER TABLE "acquirer"."fee" ALTER COLUMN "cost" TYPE numeric(6,2)`);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const { MigrationInterface, QueryRunner } = require("typeorm");
|
|
2
|
+
|
|
3
|
+
module.exports = class updatePrecissionBandRate1709822228302 {
|
|
4
|
+
name = 'updatePrecissionBandRate1709822228302'
|
|
5
|
+
|
|
6
|
+
async up(queryRunner) {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE "acquirer"."band_rate" ALTER COLUMN "rate" TYPE numeric(6,3)`);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
async down(queryRunner) {
|
|
11
|
+
await queryRunner.query(`ALTER TABLE "acquirer"."band_rate" ALTER COLUMN "rate" TYPE numeric(6,2)`);
|
|
12
|
+
}
|
|
13
|
+
}
|
package/package.json
CHANGED
/package/dist/migration/{1708616903284-field_length.js → acquirer/1708616903284-field_length.js}
RENAMED
|
File without changes
|