@felloh-org/lambda-wrapper 1.6.6 → 1.6.7
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.
|
@@ -11,7 +11,7 @@ var _organisation = _interopRequireDefault(require("../../user/organisation"));
|
|
|
11
11
|
|
|
12
12
|
var _customer = _interopRequireDefault(require("../customer"));
|
|
13
13
|
|
|
14
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7;
|
|
14
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8;
|
|
15
15
|
|
|
16
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
17
|
|
|
@@ -45,6 +45,9 @@ let Connection = (_dec = (0, _typeorm.Entity)({
|
|
|
45
45
|
type: 'timestamp with time zone'
|
|
46
46
|
}), _dec10 = (0, _typeorm.UpdateDateColumn)({
|
|
47
47
|
type: 'timestamp with time zone'
|
|
48
|
+
}), _dec11 = (0, _typeorm.Column)({
|
|
49
|
+
type: 'timestamp with time zone',
|
|
50
|
+
nullable: true
|
|
48
51
|
}), _dec(_class = (_class2 = class Connection {
|
|
49
52
|
constructor() {
|
|
50
53
|
_initializerDefineProperty(this, "id", _descriptor, this);
|
|
@@ -60,6 +63,8 @@ let Connection = (_dec = (0, _typeorm.Entity)({
|
|
|
60
63
|
_initializerDefineProperty(this, "created_at", _descriptor6, this);
|
|
61
64
|
|
|
62
65
|
_initializerDefineProperty(this, "updated_at", _descriptor7, this);
|
|
66
|
+
|
|
67
|
+
_initializerDefineProperty(this, "last_success_at", _descriptor8, this);
|
|
63
68
|
}
|
|
64
69
|
|
|
65
70
|
}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "id", [_dec2], {
|
|
@@ -107,5 +112,10 @@ let Connection = (_dec = (0, _typeorm.Entity)({
|
|
|
107
112
|
enumerable: true,
|
|
108
113
|
writable: true,
|
|
109
114
|
initializer: null
|
|
115
|
+
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "last_success_at", [_dec11], {
|
|
116
|
+
configurable: true,
|
|
117
|
+
enumerable: true,
|
|
118
|
+
writable: true,
|
|
119
|
+
initializer: null
|
|
110
120
|
})), _class2)) || _class);
|
|
111
121
|
exports.default = Connection;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const { MigrationInterface, QueryRunner } = require("typeorm");
|
|
2
|
+
|
|
3
|
+
module.exports = class saltedgeLastUpdatedAt1674569837946 {
|
|
4
|
+
name = 'saltedgeLastUpdatedAt1674569837946'
|
|
5
|
+
|
|
6
|
+
async up(queryRunner) {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE "saltedge"."connection" ADD "last_success_at" TIMESTAMP WITH TIME ZONE`);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
async down(queryRunner) {
|
|
11
|
+
await queryRunner.query(`ALTER TABLE "saltedge"."connection" DROP COLUMN "last_success_at"`);
|
|
12
|
+
}
|
|
13
|
+
}
|