@felloh-org/lambda-wrapper 1.1.11 → 1.1.12
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.
|
@@ -9,7 +9,7 @@ var _typeorm = require("typeorm");
|
|
|
9
9
|
|
|
10
10
|
var _transaction = _interopRequireDefault(require("../transaction"));
|
|
11
11
|
|
|
12
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11;
|
|
12
|
+
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, _descriptor12;
|
|
13
13
|
|
|
14
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
15
|
|
|
@@ -59,9 +59,12 @@ let TransactionMetadata = (_dec = (0, _typeorm.Entity)({
|
|
|
59
59
|
type: "varchar",
|
|
60
60
|
nullable: true,
|
|
61
61
|
length: 150
|
|
62
|
-
}), _dec12 = (0, _typeorm.
|
|
62
|
+
}), _dec12 = (0, _typeorm.Column)({
|
|
63
|
+
type: "int",
|
|
64
|
+
nullable: true
|
|
65
|
+
}), _dec13 = (0, _typeorm.CreateDateColumn)({
|
|
63
66
|
type: 'timestamp with time zone'
|
|
64
|
-
}),
|
|
67
|
+
}), _dec14 = (0, _typeorm.UpdateDateColumn)({
|
|
65
68
|
type: 'timestamp with time zone'
|
|
66
69
|
}), _dec(_class = (_class2 = class TransactionMetadata {
|
|
67
70
|
constructor() {
|
|
@@ -83,9 +86,11 @@ let TransactionMetadata = (_dec = (0, _typeorm.Entity)({
|
|
|
83
86
|
|
|
84
87
|
_initializerDefineProperty(this, "cardholder_name", _descriptor9, this);
|
|
85
88
|
|
|
86
|
-
_initializerDefineProperty(this, "
|
|
89
|
+
_initializerDefineProperty(this, "charges", _descriptor10, this);
|
|
87
90
|
|
|
88
|
-
_initializerDefineProperty(this, "
|
|
91
|
+
_initializerDefineProperty(this, "created_at", _descriptor11, this);
|
|
92
|
+
|
|
93
|
+
_initializerDefineProperty(this, "updated_at", _descriptor12, this);
|
|
89
94
|
}
|
|
90
95
|
|
|
91
96
|
}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "transaction", [_dec2, _dec3], {
|
|
@@ -135,12 +140,17 @@ let TransactionMetadata = (_dec = (0, _typeorm.Entity)({
|
|
|
135
140
|
enumerable: true,
|
|
136
141
|
writable: true,
|
|
137
142
|
initializer: null
|
|
138
|
-
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
143
|
+
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "charges", [_dec12], {
|
|
144
|
+
configurable: true,
|
|
145
|
+
enumerable: true,
|
|
146
|
+
writable: true,
|
|
147
|
+
initializer: null
|
|
148
|
+
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "created_at", [_dec13], {
|
|
139
149
|
configurable: true,
|
|
140
150
|
enumerable: true,
|
|
141
151
|
writable: true,
|
|
142
152
|
initializer: null
|
|
143
|
-
}),
|
|
153
|
+
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "updated_at", [_dec14], {
|
|
144
154
|
configurable: true,
|
|
145
155
|
enumerable: true,
|
|
146
156
|
writable: true,
|
|
File without changes
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const { MigrationInterface, QueryRunner } = require("typeorm");
|
|
2
|
+
|
|
3
|
+
module.exports = class transactionCharges1651747895363 {
|
|
4
|
+
name = 'transactionCharges1651747895363'
|
|
5
|
+
|
|
6
|
+
async up(queryRunner) {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE "payment"."transaction_metadata" ADD "charges" integer`);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
async down(queryRunner) {
|
|
11
|
+
await queryRunner.query(`ALTER TABLE "payment"."transaction_metadata" DROP COLUMN "charges"`);
|
|
12
|
+
}
|
|
13
|
+
}
|