@felloh-org/lambda-wrapper 1.1.21 → 1.1.24
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/agent-data/booking/index.js +1 -1
- package/dist/entity/payment/payment-link/index.js +48 -32
- package/dist/entity/token/token/index.js +20 -4
- package/dist/entity/user/user/index.js +10 -5
- package/dist/migration/payment/1656341396697-payment_link_descriptions.js +17 -0
- package/dist/migration/payment/1656341762925-description_not_null.js +13 -0
- package/dist/migration/token/1656064704919-token_entity_timezones.js +21 -0
- package/dist/migration/user/1656063685417-nullable_user_names.js +15 -0
- package/package.json +1 -1
|
@@ -30,7 +30,7 @@ let Booking = (_dec = (0, _typeorm.Entity)({
|
|
|
30
30
|
schema: 'agent_data'
|
|
31
31
|
}), _dec2 = (0, _typeorm.PrimaryColumn)("varchar"), _dec3 = (0, _typeorm.Column)({
|
|
32
32
|
type: "varchar",
|
|
33
|
-
length: "
|
|
33
|
+
length: "250"
|
|
34
34
|
}), _dec4 = (0, _typeorm.ManyToOne)(() => _user.default), _dec5 = (0, _typeorm.JoinColumn)({
|
|
35
35
|
name: 'user_id',
|
|
36
36
|
referencedColumnName: 'id'
|
|
@@ -15,7 +15,7 @@ var _booking = _interopRequireDefault(require("../../agent-data/booking"));
|
|
|
15
15
|
|
|
16
16
|
var _transaction = _interopRequireDefault(require("../transaction"));
|
|
17
17
|
|
|
18
|
-
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;
|
|
18
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19;
|
|
19
19
|
|
|
20
20
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21
21
|
|
|
@@ -47,34 +47,39 @@ let PaymentLink = (_dec = (0, _typeorm.Entity)({
|
|
|
47
47
|
nullable: true
|
|
48
48
|
}), _dec11 = (0, _typeorm.Column)({
|
|
49
49
|
type: "varchar",
|
|
50
|
-
length: "
|
|
50
|
+
length: "2048",
|
|
51
|
+
nullable: true
|
|
51
52
|
}), _dec12 = (0, _typeorm.Column)({
|
|
52
53
|
type: "varchar",
|
|
53
|
-
length: "
|
|
54
|
+
length: "250",
|
|
55
|
+
nullable: true
|
|
54
56
|
}), _dec13 = (0, _typeorm.Column)({
|
|
55
57
|
type: "varchar",
|
|
56
58
|
length: "200"
|
|
57
59
|
}), _dec14 = (0, _typeorm.Column)({
|
|
58
60
|
type: "varchar",
|
|
59
61
|
length: "200"
|
|
60
|
-
}), _dec15 = (0, _typeorm.
|
|
62
|
+
}), _dec15 = (0, _typeorm.Column)({
|
|
63
|
+
type: "varchar",
|
|
64
|
+
length: "200"
|
|
65
|
+
}), _dec16 = (0, _typeorm.OneToMany)(() => _transaction.default, transaction => transaction.payment_link), _dec17 = (0, _typeorm.Column)({
|
|
61
66
|
type: "boolean",
|
|
62
67
|
default: true
|
|
63
|
-
}),
|
|
68
|
+
}), _dec18 = (0, _typeorm.Column)({
|
|
64
69
|
type: "boolean",
|
|
65
70
|
default: true
|
|
66
|
-
}),
|
|
71
|
+
}), _dec19 = (0, _typeorm.Column)({
|
|
67
72
|
type: "boolean",
|
|
68
73
|
default: false
|
|
69
|
-
}), _dec19 = (0, _typeorm.Column)({
|
|
70
|
-
type: "timestamp with time zone"
|
|
71
74
|
}), _dec20 = (0, _typeorm.Column)({
|
|
75
|
+
type: "timestamp with time zone"
|
|
76
|
+
}), _dec21 = (0, _typeorm.Column)({
|
|
72
77
|
type: "varchar",
|
|
73
78
|
length: "50",
|
|
74
79
|
default: 'active'
|
|
75
|
-
}),
|
|
80
|
+
}), _dec22 = (0, _typeorm.CreateDateColumn)({
|
|
76
81
|
type: 'timestamp with time zone'
|
|
77
|
-
}),
|
|
82
|
+
}), _dec23 = (0, _typeorm.UpdateDateColumn)({
|
|
78
83
|
type: 'timestamp with time zone'
|
|
79
84
|
}), _dec(_class = (_class2 = class PaymentLink {
|
|
80
85
|
constructor() {
|
|
@@ -92,27 +97,29 @@ let PaymentLink = (_dec = (0, _typeorm.Entity)({
|
|
|
92
97
|
|
|
93
98
|
_initializerDefineProperty(this, "description", _descriptor7, this);
|
|
94
99
|
|
|
95
|
-
_initializerDefineProperty(this, "
|
|
100
|
+
_initializerDefineProperty(this, "email", _descriptor8, this);
|
|
101
|
+
|
|
102
|
+
_initializerDefineProperty(this, "success_url", _descriptor9, this);
|
|
96
103
|
|
|
97
|
-
_initializerDefineProperty(this, "failure_url",
|
|
104
|
+
_initializerDefineProperty(this, "failure_url", _descriptor10, this);
|
|
98
105
|
|
|
99
|
-
_initializerDefineProperty(this, "cancel_url",
|
|
106
|
+
_initializerDefineProperty(this, "cancel_url", _descriptor11, this);
|
|
100
107
|
|
|
101
|
-
_initializerDefineProperty(this, "transactions",
|
|
108
|
+
_initializerDefineProperty(this, "transactions", _descriptor12, this);
|
|
102
109
|
|
|
103
|
-
_initializerDefineProperty(this, "open_banking_enabled",
|
|
110
|
+
_initializerDefineProperty(this, "open_banking_enabled", _descriptor13, this);
|
|
104
111
|
|
|
105
|
-
_initializerDefineProperty(this, "card_enabled",
|
|
112
|
+
_initializerDefineProperty(this, "card_enabled", _descriptor14, this);
|
|
106
113
|
|
|
107
|
-
_initializerDefineProperty(this, "moto",
|
|
114
|
+
_initializerDefineProperty(this, "moto", _descriptor15, this);
|
|
108
115
|
|
|
109
|
-
_initializerDefineProperty(this, "expires_at",
|
|
116
|
+
_initializerDefineProperty(this, "expires_at", _descriptor16, this);
|
|
110
117
|
|
|
111
|
-
_initializerDefineProperty(this, "status",
|
|
118
|
+
_initializerDefineProperty(this, "status", _descriptor17, this);
|
|
112
119
|
|
|
113
|
-
_initializerDefineProperty(this, "created_at",
|
|
120
|
+
_initializerDefineProperty(this, "created_at", _descriptor18, this);
|
|
114
121
|
|
|
115
|
-
_initializerDefineProperty(this, "updated_at",
|
|
122
|
+
_initializerDefineProperty(this, "updated_at", _descriptor19, this);
|
|
116
123
|
}
|
|
117
124
|
|
|
118
125
|
generateExpiryDate() {
|
|
@@ -132,6 +139,7 @@ let PaymentLink = (_dec = (0, _typeorm.Entity)({
|
|
|
132
139
|
customer_name: this.customer_name,
|
|
133
140
|
expires_at: this.expires_at,
|
|
134
141
|
created_at: this.created_at,
|
|
142
|
+
email: this.email,
|
|
135
143
|
methods: {
|
|
136
144
|
open_banking: this.open_banking_enabled,
|
|
137
145
|
card: this.card_enabled
|
|
@@ -164,6 +172,7 @@ let PaymentLink = (_dec = (0, _typeorm.Entity)({
|
|
|
164
172
|
description: this.description,
|
|
165
173
|
expires_at: this.expires_at,
|
|
166
174
|
created_at: this.created_at,
|
|
175
|
+
email: this.email,
|
|
167
176
|
methods: {
|
|
168
177
|
open_banking: this.open_banking_enabled,
|
|
169
178
|
card: this.card_enabled
|
|
@@ -218,67 +227,74 @@ let PaymentLink = (_dec = (0, _typeorm.Entity)({
|
|
|
218
227
|
initializer: function () {
|
|
219
228
|
return "";
|
|
220
229
|
}
|
|
221
|
-
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
230
|
+
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "email", [_dec12], {
|
|
231
|
+
configurable: true,
|
|
232
|
+
enumerable: true,
|
|
233
|
+
writable: true,
|
|
234
|
+
initializer: function () {
|
|
235
|
+
return "";
|
|
236
|
+
}
|
|
237
|
+
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "success_url", [_dec13], {
|
|
222
238
|
configurable: true,
|
|
223
239
|
enumerable: true,
|
|
224
240
|
writable: true,
|
|
225
241
|
initializer: function () {
|
|
226
242
|
return "";
|
|
227
243
|
}
|
|
228
|
-
}),
|
|
244
|
+
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "failure_url", [_dec14], {
|
|
229
245
|
configurable: true,
|
|
230
246
|
enumerable: true,
|
|
231
247
|
writable: true,
|
|
232
248
|
initializer: function () {
|
|
233
249
|
return "";
|
|
234
250
|
}
|
|
235
|
-
}),
|
|
251
|
+
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "cancel_url", [_dec15], {
|
|
236
252
|
configurable: true,
|
|
237
253
|
enumerable: true,
|
|
238
254
|
writable: true,
|
|
239
255
|
initializer: function () {
|
|
240
256
|
return "";
|
|
241
257
|
}
|
|
242
|
-
}),
|
|
258
|
+
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "transactions", [_dec16], {
|
|
243
259
|
configurable: true,
|
|
244
260
|
enumerable: true,
|
|
245
261
|
writable: true,
|
|
246
262
|
initializer: null
|
|
247
|
-
}),
|
|
263
|
+
}), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, "open_banking_enabled", [_dec17], {
|
|
248
264
|
configurable: true,
|
|
249
265
|
enumerable: true,
|
|
250
266
|
writable: true,
|
|
251
267
|
initializer: null
|
|
252
|
-
}),
|
|
268
|
+
}), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "card_enabled", [_dec18], {
|
|
253
269
|
configurable: true,
|
|
254
270
|
enumerable: true,
|
|
255
271
|
writable: true,
|
|
256
272
|
initializer: null
|
|
257
|
-
}),
|
|
273
|
+
}), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, "moto", [_dec19], {
|
|
258
274
|
configurable: true,
|
|
259
275
|
enumerable: true,
|
|
260
276
|
writable: true,
|
|
261
277
|
initializer: null
|
|
262
|
-
}),
|
|
278
|
+
}), _descriptor16 = _applyDecoratedDescriptor(_class2.prototype, "expires_at", [_dec20], {
|
|
263
279
|
configurable: true,
|
|
264
280
|
enumerable: true,
|
|
265
281
|
writable: true,
|
|
266
282
|
initializer: function () {
|
|
267
283
|
return this.generateExpiryDate();
|
|
268
284
|
}
|
|
269
|
-
}),
|
|
285
|
+
}), _descriptor17 = _applyDecoratedDescriptor(_class2.prototype, "status", [_dec21], {
|
|
270
286
|
configurable: true,
|
|
271
287
|
enumerable: true,
|
|
272
288
|
writable: true,
|
|
273
289
|
initializer: function () {
|
|
274
290
|
return "";
|
|
275
291
|
}
|
|
276
|
-
}),
|
|
292
|
+
}), _descriptor18 = _applyDecoratedDescriptor(_class2.prototype, "created_at", [_dec22], {
|
|
277
293
|
configurable: true,
|
|
278
294
|
enumerable: true,
|
|
279
295
|
writable: true,
|
|
280
296
|
initializer: null
|
|
281
|
-
}),
|
|
297
|
+
}), _descriptor19 = _applyDecoratedDescriptor(_class2.prototype, "updated_at", [_dec23], {
|
|
282
298
|
configurable: true,
|
|
283
299
|
enumerable: true,
|
|
284
300
|
writable: true,
|
|
@@ -13,7 +13,7 @@ var _organisation = _interopRequireDefault(require("../../user/organisation"));
|
|
|
13
13
|
|
|
14
14
|
var _user = _interopRequireDefault(require("../../user/user"));
|
|
15
15
|
|
|
16
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;
|
|
16
|
+
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;
|
|
17
17
|
|
|
18
18
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
19
|
|
|
@@ -44,7 +44,16 @@ let Token = (_dec = (0, _typeorm.Entity)({
|
|
|
44
44
|
}), _dec9 = (0, _typeorm.ManyToOne)(() => _user.default), _dec10 = (0, _typeorm.JoinColumn)({
|
|
45
45
|
name: 'user_id',
|
|
46
46
|
referencedColumnName: 'id'
|
|
47
|
-
}), _dec11 = (0, _typeorm.CreateDateColumn)(
|
|
47
|
+
}), _dec11 = (0, _typeorm.CreateDateColumn)({
|
|
48
|
+
type: 'timestamp with time zone',
|
|
49
|
+
default: () => 'NOW()'
|
|
50
|
+
}), _dec12 = (0, _typeorm.UpdateDateColumn)({
|
|
51
|
+
type: 'timestamp with time zone',
|
|
52
|
+
default: () => 'NOW()'
|
|
53
|
+
}), _dec13 = (0, _typeorm.DeleteDateColumn)({
|
|
54
|
+
type: 'timestamp with time zone',
|
|
55
|
+
nullable: true
|
|
56
|
+
}), _dec(_class = (_class2 = class Token {
|
|
48
57
|
constructor() {
|
|
49
58
|
_initializerDefineProperty(this, "id", _descriptor, this);
|
|
50
59
|
|
|
@@ -62,7 +71,9 @@ let Token = (_dec = (0, _typeorm.Entity)({
|
|
|
62
71
|
|
|
63
72
|
_initializerDefineProperty(this, "created_at", _descriptor8, this);
|
|
64
73
|
|
|
65
|
-
_initializerDefineProperty(this, "
|
|
74
|
+
_initializerDefineProperty(this, "updated_at", _descriptor9, this);
|
|
75
|
+
|
|
76
|
+
_initializerDefineProperty(this, "deleted_at", _descriptor10, this);
|
|
66
77
|
}
|
|
67
78
|
|
|
68
79
|
}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "id", [_dec2], {
|
|
@@ -119,7 +130,12 @@ let Token = (_dec = (0, _typeorm.Entity)({
|
|
|
119
130
|
enumerable: true,
|
|
120
131
|
writable: true,
|
|
121
132
|
initializer: null
|
|
122
|
-
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
133
|
+
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "updated_at", [_dec12], {
|
|
134
|
+
configurable: true,
|
|
135
|
+
enumerable: true,
|
|
136
|
+
writable: true,
|
|
137
|
+
initializer: null
|
|
138
|
+
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "deleted_at", [_dec13], {
|
|
123
139
|
configurable: true,
|
|
124
140
|
enumerable: true,
|
|
125
141
|
writable: true,
|
|
@@ -46,16 +46,21 @@ let User = (_dec = (0, _typeorm.Entity)({
|
|
|
46
46
|
length: "20"
|
|
47
47
|
}), _dec8 = (0, _typeorm.Column)({
|
|
48
48
|
type: "varchar",
|
|
49
|
-
length: "50"
|
|
49
|
+
length: "50",
|
|
50
|
+
nullable: true
|
|
50
51
|
}), _dec9 = (0, _typeorm.Column)({
|
|
51
52
|
type: "varchar",
|
|
52
|
-
length: "50"
|
|
53
|
+
length: "50",
|
|
54
|
+
nullable: true
|
|
53
55
|
}), _dec10 = (0, _typeorm.CreateDateColumn)({
|
|
54
|
-
type: 'timestamp with time zone'
|
|
56
|
+
type: 'timestamp with time zone',
|
|
57
|
+
default: () => 'NOW()'
|
|
55
58
|
}), _dec11 = (0, _typeorm.UpdateDateColumn)({
|
|
56
|
-
type: 'timestamp with time zone'
|
|
59
|
+
type: 'timestamp with time zone',
|
|
60
|
+
default: () => 'NOW()'
|
|
57
61
|
}), _dec12 = (0, _typeorm.DeleteDateColumn)({
|
|
58
|
-
type: 'timestamp with time zone'
|
|
62
|
+
type: 'timestamp with time zone',
|
|
63
|
+
nullable: true
|
|
59
64
|
}), _dec13 = (0, _typeorm.ManyToMany)(() => _organisation.default, organisation => organisation.users), _dec14 = (0, _typeorm.JoinTable)({
|
|
60
65
|
name: "user_organisation",
|
|
61
66
|
schema: "user",
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const { MigrationInterface, QueryRunner } = require("typeorm");
|
|
2
|
+
|
|
3
|
+
module.exports = class paymentLinkDescriptions1656341396697 {
|
|
4
|
+
name = 'paymentLinkDescriptions1656341396697'
|
|
5
|
+
|
|
6
|
+
async up(queryRunner) {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE "payment"."payment_Link" ADD "email" character varying(250)`);
|
|
8
|
+
await queryRunner.query(`ALTER TABLE "payment"."payment_Link" ALTER COLUMN "description" TYPE varchar(2048)`);
|
|
9
|
+
await queryRunner.query(`ALTER TABLE "agent_data"."booking" ALTER COLUMN "email" TYPE varchar(250)`);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
async down(queryRunner) {
|
|
13
|
+
await queryRunner.query(`ALTER TABLE "payment"."payment_Link" ALTER COLUMN "description" TYPE varchar(250)`);
|
|
14
|
+
await queryRunner.query(`ALTER TABLE "agent_data"."booking" ALTER COLUMN "email" TYPE varchar(150)`);
|
|
15
|
+
await queryRunner.query(`ALTER TABLE "payment"."payment_Link" DROP COLUMN "email"`);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const { MigrationInterface, QueryRunner } = require("typeorm");
|
|
2
|
+
|
|
3
|
+
module.exports = class test1656341762925 {
|
|
4
|
+
name = 'test1656341762925'
|
|
5
|
+
|
|
6
|
+
async up(queryRunner) {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE "payment"."payment_Link" ALTER COLUMN "description" DROP NOT NULL`);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
async down(queryRunner) {
|
|
11
|
+
await queryRunner.query(`ALTER TABLE "payment"."payment_Link" ALTER COLUMN "description" SET NOT NULL`);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const { MigrationInterface, QueryRunner } = require("typeorm");
|
|
2
|
+
|
|
3
|
+
module.exports = class tokenEntityTimezones1656064704919 {
|
|
4
|
+
name = 'tokenEntityTimezones1656064704919'
|
|
5
|
+
|
|
6
|
+
async up(queryRunner) {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE "token"."token" ADD "updated_at" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()`);
|
|
8
|
+
await queryRunner.query(`ALTER TABLE "token"."token" DROP COLUMN "created_at"`);
|
|
9
|
+
await queryRunner.query(`ALTER TABLE "token"."token" ADD "created_at" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()`);
|
|
10
|
+
await queryRunner.query(`ALTER TABLE "token"."token" DROP COLUMN "deleted_at"`);
|
|
11
|
+
await queryRunner.query(`ALTER TABLE "token"."token" ADD "deleted_at" TIMESTAMP WITH TIME ZONE`);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
async down(queryRunner) {
|
|
15
|
+
await queryRunner.query(`ALTER TABLE "token"."token" DROP COLUMN "deleted_at"`);
|
|
16
|
+
await queryRunner.query(`ALTER TABLE "token"."token" ADD "deleted_at" TIMESTAMP`);
|
|
17
|
+
await queryRunner.query(`ALTER TABLE "token"."token" DROP COLUMN "created_at"`);
|
|
18
|
+
await queryRunner.query(`ALTER TABLE "token"."token" ADD "created_at" TIMESTAMP NOT NULL DEFAULT now()`);
|
|
19
|
+
await queryRunner.query(`ALTER TABLE "token"."token" DROP COLUMN "updated_at"`);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const { MigrationInterface, QueryRunner } = require("typeorm");
|
|
2
|
+
|
|
3
|
+
module.exports = class nullableUserNames1656063685417 {
|
|
4
|
+
name = 'nullableUserNames1656063685417'
|
|
5
|
+
|
|
6
|
+
async up(queryRunner) {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE "user"."user" ALTER COLUMN "first_name" DROP NOT NULL`);
|
|
8
|
+
await queryRunner.query(`ALTER TABLE "user"."user" ALTER COLUMN "last_name" DROP NOT NULL`);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
async down(queryRunner) {
|
|
12
|
+
await queryRunner.query(`ALTER TABLE "user"."user" ALTER COLUMN "last_name" SET NOT NULL`);
|
|
13
|
+
await queryRunner.query(`ALTER TABLE "user"."user" ALTER COLUMN "first_name" SET NOT NULL`);
|
|
14
|
+
}
|
|
15
|
+
}
|