@felloh-org/lambda-wrapper 1.11.63 → 1.11.64
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.
|
@@ -7,7 +7,7 @@ exports.default = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _typeorm = require("typeorm");
|
|
9
9
|
|
|
10
|
-
var _dec, _dec2, _dec3, _class, _class2, _descriptor, _descriptor2;
|
|
10
|
+
var _dec, _dec2, _dec3, _dec4, _class, _class2, _descriptor, _descriptor2, _descriptor3;
|
|
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
|
|
|
@@ -18,11 +18,16 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|
|
18
18
|
let TransactionStatus = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
19
19
|
name: 'transaction_status',
|
|
20
20
|
schema: 'payment'
|
|
21
|
-
}), _dec2 = (0, _typeorm.PrimaryColumn)("varchar"), _dec3 = (0, _typeorm.CreateDateColumn)(),
|
|
21
|
+
}), _dec2 = (0, _typeorm.PrimaryColumn)("varchar"), _dec3 = (0, _typeorm.CreateDateColumn)(), _dec4 = (0, _typeorm.Column)({
|
|
22
|
+
type: "text",
|
|
23
|
+
nullable: true
|
|
24
|
+
}), _dec(_class = (_class2 = class TransactionStatus {
|
|
22
25
|
constructor() {
|
|
23
26
|
_initializerDefineProperty(this, "id", _descriptor, this);
|
|
24
27
|
|
|
25
28
|
_initializerDefineProperty(this, "created_at", _descriptor2, this);
|
|
29
|
+
|
|
30
|
+
_initializerDefineProperty(this, "grouping", _descriptor3, this);
|
|
26
31
|
}
|
|
27
32
|
|
|
28
33
|
}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "id", [_dec2], {
|
|
@@ -35,4 +40,9 @@ let TransactionStatus = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
|
35
40
|
enumerable: true,
|
|
36
41
|
writable: true,
|
|
37
42
|
initializer: null
|
|
43
|
+
}), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, "grouping", [_dec4], {
|
|
44
|
+
configurable: true,
|
|
45
|
+
enumerable: true,
|
|
46
|
+
writable: true,
|
|
47
|
+
initializer: null
|
|
38
48
|
})), _class2)) || _class);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const { MigrationInterface, QueryRunner } = require("typeorm");
|
|
2
|
+
|
|
3
|
+
module.exports = class statusGrouping1702583802282 {
|
|
4
|
+
name = 'statusGrouping1702583802282'
|
|
5
|
+
|
|
6
|
+
async up(queryRunner) {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE "payment"."transaction_status" ADD "grouping" text`);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
async down(queryRunner) {
|
|
11
|
+
await queryRunner.query(`ALTER TABLE "payment"."transaction_status" DROP COLUMN "grouping"`);
|
|
12
|
+
}
|
|
13
|
+
}
|