@oneuptime/common 7.0.3124 → 7.0.3129

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.
Files changed (22) hide show
  1. package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.ts +10 -3
  2. package/Server/Infrastructure/Postgres/SchemaMigrations/1727192530019-MigrationName.ts +17 -0
  3. package/Server/Infrastructure/Postgres/SchemaMigrations/1727193130193-MigrationName.ts +17 -0
  4. package/Server/Infrastructure/Postgres/SchemaMigrations/1727193702212-MigrationName.ts +726 -0
  5. package/Server/Infrastructure/Postgres/SchemaMigrations/1727194211048-MigrationName.ts +732 -0
  6. package/Server/Infrastructure/Postgres/SchemaMigrations/1727194579925-MigrationName.ts +493 -0
  7. package/Server/Infrastructure/Postgres/SchemaMigrations/Index.ts +10 -0
  8. package/build/dist/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.js +10 -3
  9. package/build/dist/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.js.map +1 -1
  10. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1727192530019-MigrationName.js +12 -0
  11. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1727192530019-MigrationName.js.map +1 -0
  12. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1727193130193-MigrationName.js +12 -0
  13. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1727193130193-MigrationName.js.map +1 -0
  14. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1727193702212-MigrationName.js +247 -0
  15. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1727193702212-MigrationName.js.map +1 -0
  16. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1727194211048-MigrationName.js +249 -0
  17. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1727194211048-MigrationName.js.map +1 -0
  18. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1727194579925-MigrationName.js +131 -0
  19. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1727194579925-MigrationName.js.map +1 -0
  20. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/Index.js +10 -0
  21. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/Index.js.map +1 -1
  22. package/package.json +2 -2
@@ -0,0 +1,732 @@
1
+ import { MigrationInterface, QueryRunner } from "typeorm";
2
+
3
+ export class MigrationName1727194211048 implements MigrationInterface {
4
+ public name = "MigrationName1727194211048";
5
+
6
+ public async up(queryRunner: QueryRunner): Promise<void> {
7
+ await queryRunner.query(
8
+ `ALTER TABLE "User" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
9
+ );
10
+ await queryRunner.query(
11
+ `ALTER TABLE "File" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
12
+ );
13
+ await queryRunner.query(
14
+ `ALTER TABLE "AcmeCertificate" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
15
+ );
16
+ await queryRunner.query(
17
+ `ALTER TABLE "AcmeCertificate" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
18
+ );
19
+ await queryRunner.query(
20
+ `ALTER TABLE "AcmeChallenge" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
21
+ );
22
+ await queryRunner.query(
23
+ `ALTER TABLE "AcmeChallenge" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
24
+ );
25
+ await queryRunner.query(
26
+ `ALTER TABLE "Reseller" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
27
+ );
28
+ await queryRunner.query(
29
+ `ALTER TABLE "Reseller" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
30
+ );
31
+ await queryRunner.query(
32
+ `ALTER TABLE "ResellerPlan" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
33
+ );
34
+ await queryRunner.query(
35
+ `ALTER TABLE "ResellerPlan" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
36
+ );
37
+ await queryRunner.query(
38
+ `ALTER TABLE "Project" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
39
+ );
40
+ await queryRunner.query(
41
+ `ALTER TABLE "Project" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
42
+ );
43
+ await queryRunner.query(
44
+ `ALTER TABLE "ApiKey" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
45
+ );
46
+ await queryRunner.query(
47
+ `ALTER TABLE "ApiKey" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
48
+ );
49
+ await queryRunner.query(
50
+ `ALTER TABLE "Label" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
51
+ );
52
+ await queryRunner.query(
53
+ `ALTER TABLE "Label" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
54
+ );
55
+ await queryRunner.query(
56
+ `ALTER TABLE "ApiKeyPermission" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
57
+ );
58
+ await queryRunner.query(
59
+ `ALTER TABLE "ApiKeyPermission" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
60
+ );
61
+ await queryRunner.query(
62
+ `ALTER TABLE "BillingInvoice" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
63
+ );
64
+ await queryRunner.query(
65
+ `ALTER TABLE "BillingInvoice" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
66
+ );
67
+ await queryRunner.query(
68
+ `ALTER TABLE "BillingPaymentMethod" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
69
+ );
70
+ await queryRunner.query(
71
+ `ALTER TABLE "BillingPaymentMethod" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
72
+ );
73
+ await queryRunner.query(
74
+ `ALTER TABLE "CallLog" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
75
+ );
76
+ await queryRunner.query(
77
+ `ALTER TABLE "CallLog" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
78
+ );
79
+ await queryRunner.query(
80
+ `ALTER TABLE "CopilotCodeRepository" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
81
+ );
82
+ await queryRunner.query(
83
+ `ALTER TABLE "CopilotCodeRepository" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
84
+ );
85
+ await queryRunner.query(
86
+ `ALTER TABLE "ServiceCatalog" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
87
+ );
88
+ await queryRunner.query(
89
+ `ALTER TABLE "ServiceCatalog" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
90
+ );
91
+ await queryRunner.query(
92
+ `ALTER TABLE "ServiceCopilotCodeRepository" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
93
+ );
94
+ await queryRunner.query(
95
+ `ALTER TABLE "ServiceCopilotCodeRepository" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
96
+ );
97
+ await queryRunner.query(
98
+ `ALTER TABLE "CopilotPullRequest" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
99
+ );
100
+ await queryRunner.query(
101
+ `ALTER TABLE "CopilotPullRequest" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
102
+ );
103
+ await queryRunner.query(
104
+ `ALTER TABLE "CopilotAction" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
105
+ );
106
+ await queryRunner.query(
107
+ `ALTER TABLE "CopilotAction" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
108
+ );
109
+ await queryRunner.query(
110
+ `ALTER TABLE "DataMigrations" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
111
+ );
112
+ await queryRunner.query(
113
+ `ALTER TABLE "DataMigrations" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
114
+ );
115
+ await queryRunner.query(
116
+ `ALTER TABLE "Domain" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
117
+ );
118
+ await queryRunner.query(
119
+ `ALTER TABLE "Domain" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
120
+ );
121
+ await queryRunner.query(
122
+ `ALTER TABLE "ProjectSMTPConfig" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
123
+ );
124
+ await queryRunner.query(
125
+ `ALTER TABLE "ProjectSMTPConfig" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
126
+ );
127
+ await queryRunner.query(
128
+ `ALTER TABLE "EmailLog" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
129
+ );
130
+ await queryRunner.query(
131
+ `ALTER TABLE "EmailLog" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
132
+ );
133
+ await queryRunner.query(
134
+ `ALTER TABLE "EmailVerificationToken" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
135
+ );
136
+ await queryRunner.query(
137
+ `ALTER TABLE "EmailVerificationToken" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
138
+ );
139
+ await queryRunner.query(
140
+ `ALTER TABLE "GlobalConfig" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
141
+ );
142
+ await queryRunner.query(
143
+ `ALTER TABLE "GlobalConfig" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
144
+ );
145
+ await queryRunner.query(
146
+ `ALTER TABLE "GreenlockCertificate" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
147
+ );
148
+ await queryRunner.query(
149
+ `ALTER TABLE "GreenlockCertificate" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
150
+ );
151
+ await queryRunner.query(
152
+ `ALTER TABLE "GreenlockChallenge" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
153
+ );
154
+ await queryRunner.query(
155
+ `ALTER TABLE "GreenlockChallenge" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
156
+ );
157
+ await queryRunner.query(
158
+ `ALTER TABLE "IncidentSeverity" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
159
+ );
160
+ await queryRunner.query(
161
+ `ALTER TABLE "IncidentSeverity" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
162
+ );
163
+ await queryRunner.query(
164
+ `ALTER TABLE "IncidentState" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
165
+ );
166
+ await queryRunner.query(
167
+ `ALTER TABLE "IncidentState" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
168
+ );
169
+ await queryRunner.query(
170
+ `ALTER TABLE "MonitorStatus" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
171
+ );
172
+ await queryRunner.query(
173
+ `ALTER TABLE "MonitorStatus" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
174
+ );
175
+ await queryRunner.query(
176
+ `ALTER TABLE "Monitor" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
177
+ );
178
+ await queryRunner.query(
179
+ `ALTER TABLE "Monitor" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
180
+ );
181
+ await queryRunner.query(
182
+ `ALTER TABLE "OnCallDutyPolicy" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
183
+ );
184
+ await queryRunner.query(
185
+ `ALTER TABLE "OnCallDutyPolicy" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
186
+ );
187
+ await queryRunner.query(
188
+ `ALTER TABLE "Probe" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
189
+ );
190
+ await queryRunner.query(
191
+ `ALTER TABLE "Probe" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
192
+ );
193
+ await queryRunner.query(
194
+ `ALTER TABLE "Incident" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
195
+ );
196
+ await queryRunner.query(
197
+ `ALTER TABLE "Incident" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
198
+ );
199
+ await queryRunner.query(
200
+ `ALTER TABLE "IncidentCustomField" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
201
+ );
202
+ await queryRunner.query(
203
+ `ALTER TABLE "IncidentCustomField" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
204
+ );
205
+ await queryRunner.query(
206
+ `ALTER TABLE "IncidentInternalNote" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
207
+ );
208
+ await queryRunner.query(
209
+ `ALTER TABLE "IncidentInternalNote" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
210
+ );
211
+ await queryRunner.query(
212
+ `ALTER TABLE "IncidentNoteTemplate" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
213
+ );
214
+ await queryRunner.query(
215
+ `ALTER TABLE "IncidentNoteTemplate" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
216
+ );
217
+ await queryRunner.query(
218
+ `ALTER TABLE "Team" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
219
+ );
220
+ await queryRunner.query(
221
+ `ALTER TABLE "Team" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
222
+ );
223
+ await queryRunner.query(
224
+ `ALTER TABLE "IncidentOwnerTeam" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
225
+ );
226
+ await queryRunner.query(
227
+ `ALTER TABLE "IncidentOwnerTeam" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
228
+ );
229
+ await queryRunner.query(
230
+ `ALTER TABLE "IncidentOwnerUser" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
231
+ );
232
+ await queryRunner.query(
233
+ `ALTER TABLE "IncidentOwnerUser" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
234
+ );
235
+ await queryRunner.query(
236
+ `ALTER TABLE "IncidentPublicNote" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
237
+ );
238
+ await queryRunner.query(
239
+ `ALTER TABLE "IncidentPublicNote" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
240
+ );
241
+ await queryRunner.query(
242
+ `ALTER TABLE "IncidentStateTimeline" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
243
+ );
244
+ await queryRunner.query(
245
+ `ALTER TABLE "IncidentStateTimeline" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
246
+ );
247
+ await queryRunner.query(
248
+ `ALTER TABLE "IncidentTemplate" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
249
+ );
250
+ await queryRunner.query(
251
+ `ALTER TABLE "IncidentTemplate" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
252
+ );
253
+ await queryRunner.query(
254
+ `ALTER TABLE "IncidentTemplateOwnerTeam" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
255
+ );
256
+ await queryRunner.query(
257
+ `ALTER TABLE "IncidentTemplateOwnerTeam" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
258
+ );
259
+ await queryRunner.query(
260
+ `ALTER TABLE "IncidentTemplateOwnerUser" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
261
+ );
262
+ await queryRunner.query(
263
+ `ALTER TABLE "IncidentTemplateOwnerUser" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
264
+ );
265
+ await queryRunner.query(
266
+ `ALTER TABLE "MonitorCustomField" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
267
+ );
268
+ await queryRunner.query(
269
+ `ALTER TABLE "MonitorCustomField" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
270
+ );
271
+ await queryRunner.query(
272
+ `ALTER TABLE "MonitorGroup" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
273
+ );
274
+ await queryRunner.query(
275
+ `ALTER TABLE "MonitorGroup" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
276
+ );
277
+ await queryRunner.query(
278
+ `ALTER TABLE "MonitorGroupOwnerTeam" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
279
+ );
280
+ await queryRunner.query(
281
+ `ALTER TABLE "MonitorGroupOwnerTeam" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
282
+ );
283
+ await queryRunner.query(
284
+ `ALTER TABLE "MonitorGroupOwnerUser" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
285
+ );
286
+ await queryRunner.query(
287
+ `ALTER TABLE "MonitorGroupOwnerUser" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
288
+ );
289
+ await queryRunner.query(
290
+ `ALTER TABLE "MonitorGroupResource" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
291
+ );
292
+ await queryRunner.query(
293
+ `ALTER TABLE "MonitorGroupResource" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
294
+ );
295
+ await queryRunner.query(
296
+ `ALTER TABLE "MonitorOwnerTeam" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
297
+ );
298
+ await queryRunner.query(
299
+ `ALTER TABLE "MonitorOwnerTeam" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
300
+ );
301
+ await queryRunner.query(
302
+ `ALTER TABLE "MonitorOwnerUser" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
303
+ );
304
+ await queryRunner.query(
305
+ `ALTER TABLE "MonitorOwnerUser" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
306
+ );
307
+ await queryRunner.query(
308
+ `ALTER TABLE "MonitorProbe" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
309
+ );
310
+ await queryRunner.query(
311
+ `ALTER TABLE "MonitorProbe" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
312
+ );
313
+ await queryRunner.query(
314
+ `ALTER TABLE "MonitorSecret" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
315
+ );
316
+ await queryRunner.query(
317
+ `ALTER TABLE "MonitorSecret" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
318
+ );
319
+
320
+ await queryRunner.query(
321
+ `ALTER TABLE "MonitorStatusTimeline" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
322
+ );
323
+ await queryRunner.query(
324
+ `ALTER TABLE "MonitorStatusTimeline" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
325
+ );
326
+ await queryRunner.query(
327
+ `ALTER TABLE "OnCallDutyPolicyCustomField" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
328
+ );
329
+ await queryRunner.query(
330
+ `ALTER TABLE "OnCallDutyPolicyCustomField" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
331
+ );
332
+ await queryRunner.query(
333
+ `ALTER TABLE "OnCallDutyPolicyEscalationRule" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
334
+ );
335
+ await queryRunner.query(
336
+ `ALTER TABLE "OnCallDutyPolicyEscalationRule" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
337
+ );
338
+ await queryRunner.query(
339
+ `ALTER TABLE "OnCallDutyPolicySchedule" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
340
+ );
341
+ await queryRunner.query(
342
+ `ALTER TABLE "OnCallDutyPolicySchedule" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
343
+ );
344
+ await queryRunner.query(
345
+ `ALTER TABLE "OnCallDutyPolicyEscalationRuleSchedule" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
346
+ );
347
+ await queryRunner.query(
348
+ `ALTER TABLE "OnCallDutyPolicyEscalationRuleSchedule" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
349
+ );
350
+ await queryRunner.query(
351
+ `ALTER TABLE "OnCallDutyPolicyEscalationRuleTeam" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
352
+ );
353
+ await queryRunner.query(
354
+ `ALTER TABLE "OnCallDutyPolicyEscalationRuleTeam" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
355
+ );
356
+ await queryRunner.query(
357
+ `ALTER TABLE "OnCallDutyPolicyEscalationRuleUser" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
358
+ );
359
+ await queryRunner.query(
360
+ `ALTER TABLE "OnCallDutyPolicyEscalationRuleUser" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
361
+ );
362
+ await queryRunner.query(
363
+ `ALTER TABLE "OnCallDutyPolicyExecutionLog" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
364
+ );
365
+ await queryRunner.query(
366
+ `ALTER TABLE "OnCallDutyPolicyExecutionLog" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
367
+ );
368
+ await queryRunner.query(
369
+ `ALTER TABLE "OnCallDutyPolicyExecutionLogTimeline" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
370
+ );
371
+ await queryRunner.query(
372
+ `ALTER TABLE "OnCallDutyPolicyExecutionLogTimeline" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
373
+ );
374
+ await queryRunner.query(
375
+ `ALTER TABLE "OnCallDutyPolicyScheduleLayer" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
376
+ );
377
+ await queryRunner.query(
378
+ `ALTER TABLE "OnCallDutyPolicyScheduleLayer" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
379
+ );
380
+ await queryRunner.query(
381
+ `ALTER TABLE "OnCallDutyPolicyScheduleLayer" ALTER COLUMN "rotation" SET DEFAULT '{"_type":"Recurring","value":{"intervalType":"Day","intervalCount":{"_type":"PositiveNumber","value":1}}}'`,
382
+ );
383
+ await queryRunner.query(
384
+ `ALTER TABLE "OnCallDutyPolicyScheduleLayer" ALTER COLUMN "restrictionTimes" SET DEFAULT '{"_type":"RestrictionTimes","value":{"restictionType":"None","dayRestrictionTimes":null,"weeklyRestrictionTimes":[]}}'`,
385
+ );
386
+ await queryRunner.query(
387
+ `ALTER TABLE "OnCallDutyPolicyScheduleLayerUser" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
388
+ );
389
+ await queryRunner.query(
390
+ `ALTER TABLE "OnCallDutyPolicyScheduleLayerUser" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
391
+ );
392
+ await queryRunner.query(
393
+ `ALTER TABLE "ProbeOwnerTeam" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
394
+ );
395
+ await queryRunner.query(
396
+ `ALTER TABLE "ProbeOwnerTeam" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
397
+ );
398
+ await queryRunner.query(
399
+ `ALTER TABLE "ProbeOwnerUser" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
400
+ );
401
+ await queryRunner.query(
402
+ `ALTER TABLE "ProbeOwnerUser" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
403
+ );
404
+ await queryRunner.query(
405
+ `ALTER TABLE "ProjectCallSMSConfig" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
406
+ );
407
+ await queryRunner.query(
408
+ `ALTER TABLE "ProjectCallSMSConfig" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
409
+ );
410
+ await queryRunner.query(
411
+ `ALTER TABLE "ProjectSSO" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
412
+ );
413
+ await queryRunner.query(
414
+ `ALTER TABLE "ProjectSSO" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
415
+ );
416
+ await queryRunner.query(
417
+ `ALTER TABLE "PromoCode" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
418
+ );
419
+ await queryRunner.query(
420
+ `ALTER TABLE "PromoCode" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
421
+ );
422
+ await queryRunner.query(
423
+ `ALTER TABLE "ScheduledMaintenanceState" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
424
+ );
425
+ await queryRunner.query(
426
+ `ALTER TABLE "ScheduledMaintenanceState" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
427
+ );
428
+ await queryRunner.query(
429
+ `ALTER TABLE "StatusPage" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
430
+ );
431
+
432
+ await queryRunner.query(
433
+ `ALTER TABLE "StatusPage" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
434
+ );
435
+ await queryRunner.query(
436
+ `ALTER TABLE "ScheduledMaintenance" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
437
+ );
438
+ await queryRunner.query(
439
+ `ALTER TABLE "ScheduledMaintenance" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
440
+ );
441
+ await queryRunner.query(
442
+ `ALTER TABLE "ScheduledMaintenanceCustomField" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
443
+ );
444
+ await queryRunner.query(
445
+ `ALTER TABLE "ScheduledMaintenanceCustomField" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
446
+ );
447
+ await queryRunner.query(
448
+ `ALTER TABLE "ScheduledMaintenanceInternalNote" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
449
+ );
450
+ await queryRunner.query(
451
+ `ALTER TABLE "ScheduledMaintenanceInternalNote" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
452
+ );
453
+ await queryRunner.query(
454
+ `ALTER TABLE "ScheduledMaintenanceNoteTemplate" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
455
+ );
456
+ await queryRunner.query(
457
+ `ALTER TABLE "ScheduledMaintenanceNoteTemplate" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
458
+ );
459
+ await queryRunner.query(
460
+ `ALTER TABLE "ScheduledMaintenanceOwnerTeam" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
461
+ );
462
+ await queryRunner.query(
463
+ `ALTER TABLE "ScheduledMaintenanceOwnerTeam" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
464
+ );
465
+ await queryRunner.query(
466
+ `ALTER TABLE "ScheduledMaintenanceOwnerUser" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
467
+ );
468
+ await queryRunner.query(
469
+ `ALTER TABLE "ScheduledMaintenanceOwnerUser" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
470
+ );
471
+ await queryRunner.query(
472
+ `ALTER TABLE "ScheduledMaintenancePublicNote" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
473
+ );
474
+ await queryRunner.query(
475
+ `ALTER TABLE "ScheduledMaintenancePublicNote" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
476
+ );
477
+ await queryRunner.query(
478
+ `ALTER TABLE "ScheduledMaintenanceStateTimeline" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
479
+ );
480
+ await queryRunner.query(
481
+ `ALTER TABLE "ScheduledMaintenanceStateTimeline" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
482
+ );
483
+ await queryRunner.query(
484
+ `ALTER TABLE "ServiceCatalogOwnerTeam" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
485
+ );
486
+ await queryRunner.query(
487
+ `ALTER TABLE "ServiceCatalogOwnerTeam" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
488
+ );
489
+ await queryRunner.query(
490
+ `ALTER TABLE "ServiceCatalogOwnerUser" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
491
+ );
492
+ await queryRunner.query(
493
+ `ALTER TABLE "ServiceCatalogOwnerUser" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
494
+ );
495
+ await queryRunner.query(
496
+ `ALTER TABLE "ShortLink" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
497
+ );
498
+ await queryRunner.query(
499
+ `ALTER TABLE "ShortLink" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
500
+ );
501
+ await queryRunner.query(
502
+ `ALTER TABLE "SmsLog" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
503
+ );
504
+ await queryRunner.query(
505
+ `ALTER TABLE "SmsLog" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
506
+ );
507
+ await queryRunner.query(
508
+ `ALTER TABLE "StatusPageAnnouncement" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
509
+ );
510
+ await queryRunner.query(
511
+ `ALTER TABLE "StatusPageAnnouncement" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
512
+ );
513
+ await queryRunner.query(
514
+ `ALTER TABLE "StatusPageCustomField" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
515
+ );
516
+ await queryRunner.query(
517
+ `ALTER TABLE "StatusPageCustomField" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
518
+ );
519
+ await queryRunner.query(
520
+ `ALTER TABLE "StatusPageDomain" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
521
+ );
522
+ await queryRunner.query(
523
+ `ALTER TABLE "StatusPageDomain" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
524
+ );
525
+ await queryRunner.query(
526
+ `ALTER TABLE "StatusPageFooterLink" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
527
+ );
528
+ await queryRunner.query(
529
+ `ALTER TABLE "StatusPageFooterLink" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
530
+ );
531
+ await queryRunner.query(
532
+ `ALTER TABLE "StatusPageGroup" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
533
+ );
534
+ await queryRunner.query(
535
+ `ALTER TABLE "StatusPageGroup" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
536
+ );
537
+ await queryRunner.query(
538
+ `ALTER TABLE "StatusPageHeaderLink" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
539
+ );
540
+ await queryRunner.query(
541
+ `ALTER TABLE "StatusPageHeaderLink" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
542
+ );
543
+ await queryRunner.query(
544
+ `ALTER TABLE "StatusPageHistoryChartBarColorRule" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
545
+ );
546
+ await queryRunner.query(
547
+ `ALTER TABLE "StatusPageHistoryChartBarColorRule" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
548
+ );
549
+ await queryRunner.query(
550
+ `ALTER TABLE "StatusPageOwnerTeam" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
551
+ );
552
+ await queryRunner.query(
553
+ `ALTER TABLE "StatusPageOwnerTeam" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
554
+ );
555
+ await queryRunner.query(
556
+ `ALTER TABLE "StatusPageOwnerUser" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
557
+ );
558
+ await queryRunner.query(
559
+ `ALTER TABLE "StatusPageOwnerUser" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
560
+ );
561
+ await queryRunner.query(
562
+ `ALTER TABLE "StatusPagePrivateUser" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
563
+ );
564
+ await queryRunner.query(
565
+ `ALTER TABLE "StatusPagePrivateUser" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
566
+ );
567
+ await queryRunner.query(
568
+ `ALTER TABLE "StatusPageResource" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
569
+ );
570
+ await queryRunner.query(
571
+ `ALTER TABLE "StatusPageResource" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
572
+ );
573
+ await queryRunner.query(
574
+ `ALTER TABLE "StatusPageSSO" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
575
+ );
576
+ await queryRunner.query(
577
+ `ALTER TABLE "StatusPageSSO" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
578
+ );
579
+ await queryRunner.query(
580
+ `ALTER TABLE "StatusPageSubscriber" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
581
+ );
582
+ await queryRunner.query(
583
+ `ALTER TABLE "StatusPageSubscriber" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
584
+ );
585
+ await queryRunner.query(
586
+ `ALTER TABLE "TeamMember" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
587
+ );
588
+ await queryRunner.query(
589
+ `ALTER TABLE "TeamMember" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
590
+ );
591
+ await queryRunner.query(
592
+ `ALTER TABLE "TeamPermission" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
593
+ );
594
+ await queryRunner.query(
595
+ `ALTER TABLE "TeamPermission" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
596
+ );
597
+ await queryRunner.query(
598
+ `ALTER TABLE "TelemetryService" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
599
+ );
600
+ await queryRunner.query(
601
+ `ALTER TABLE "TelemetryService" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
602
+ );
603
+ await queryRunner.query(
604
+ `ALTER TABLE "TelemetryUsageBilling" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
605
+ );
606
+ await queryRunner.query(
607
+ `ALTER TABLE "TelemetryUsageBilling" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
608
+ );
609
+ await queryRunner.query(
610
+ `ALTER TABLE "UserCall" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
611
+ );
612
+ await queryRunner.query(
613
+ `ALTER TABLE "UserCall" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
614
+ );
615
+ await queryRunner.query(
616
+ `ALTER TABLE "UserEmail" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
617
+ );
618
+ await queryRunner.query(
619
+ `ALTER TABLE "UserEmail" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
620
+ );
621
+ await queryRunner.query(
622
+ `ALTER TABLE "UserSMS" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
623
+ );
624
+ await queryRunner.query(
625
+ `ALTER TABLE "UserSMS" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
626
+ );
627
+ await queryRunner.query(
628
+ `ALTER TABLE "UserNotificationRule" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
629
+ );
630
+ await queryRunner.query(
631
+ `ALTER TABLE "UserNotificationRule" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
632
+ );
633
+ await queryRunner.query(
634
+ `ALTER TABLE "UserNotificationSetting" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
635
+ );
636
+ await queryRunner.query(
637
+ `ALTER TABLE "UserNotificationSetting" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
638
+ );
639
+ await queryRunner.query(
640
+ `ALTER TABLE "UserOnCallLog" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
641
+ );
642
+ await queryRunner.query(
643
+ `ALTER TABLE "UserOnCallLog" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
644
+ );
645
+ await queryRunner.query(
646
+ `ALTER TABLE "UserOnCallLogTimeline" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
647
+ );
648
+ await queryRunner.query(
649
+ `ALTER TABLE "UserOnCallLogTimeline" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
650
+ );
651
+ await queryRunner.query(
652
+ `ALTER TABLE "Workflow" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
653
+ );
654
+ await queryRunner.query(
655
+ `ALTER TABLE "Workflow" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
656
+ );
657
+ await queryRunner.query(
658
+ `ALTER TABLE "WorkflowLog" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
659
+ );
660
+ await queryRunner.query(
661
+ `ALTER TABLE "WorkflowLog" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
662
+ );
663
+ await queryRunner.query(
664
+ `ALTER TABLE "WorkflowVariable" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
665
+ );
666
+ await queryRunner.query(
667
+ `ALTER TABLE "WorkflowVariable" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
668
+ );
669
+ await queryRunner.query(
670
+ `ALTER TABLE "ServiceCatlogDependency" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
671
+ );
672
+ await queryRunner.query(
673
+ `ALTER TABLE "ServiceCatlogDependency" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
674
+ );
675
+ await queryRunner.query(
676
+ `ALTER TABLE "ServiceCatalogMonitor" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
677
+ );
678
+ await queryRunner.query(
679
+ `ALTER TABLE "ServiceCatalogMonitor" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
680
+ );
681
+ await queryRunner.query(
682
+ `ALTER TABLE "ServiceCatalogTelemetryService" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
683
+ );
684
+ await queryRunner.query(
685
+ `ALTER TABLE "ServiceCatalogTelemetryService" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
686
+ );
687
+ await queryRunner.query(
688
+ `ALTER TABLE "UserTwoFactorAuth" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
689
+ );
690
+ await queryRunner.query(
691
+ `ALTER TABLE "UserTwoFactorAuth" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
692
+ );
693
+ await queryRunner.query(
694
+ `ALTER TABLE "TelemetryIngestionKey" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
695
+ );
696
+ await queryRunner.query(
697
+ `ALTER TABLE "TelemetryIngestionKey" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
698
+ );
699
+ await queryRunner.query(
700
+ `ALTER TABLE "TelemetryException" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
701
+ );
702
+ await queryRunner.query(
703
+ `ALTER TABLE "TelemetryException" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
704
+ );
705
+ await queryRunner.query(
706
+ `ALTER TABLE "CopilotActionTypePriority" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
707
+ );
708
+ await queryRunner.query(
709
+ `ALTER TABLE "CopilotActionTypePriority" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
710
+ );
711
+ await queryRunner.query(
712
+ `ALTER TABLE "ScheduledMaintenanceTemplate" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
713
+ );
714
+ await queryRunner.query(
715
+ `ALTER TABLE "ScheduledMaintenanceTemplate" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
716
+ );
717
+ await queryRunner.query(
718
+ `ALTER TABLE "ScheduledMaintenanceTemplateOwnerTeam" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
719
+ );
720
+ await queryRunner.query(
721
+ `ALTER TABLE "ScheduledMaintenanceTemplateOwnerTeam" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
722
+ );
723
+ await queryRunner.query(
724
+ `ALTER TABLE "ScheduledMaintenanceTemplateOwnerUser" ALTER COLUMN "updatedAt" TYPE TIMESTAMP WITH TIME ZONE`,
725
+ );
726
+ await queryRunner.query(
727
+ `ALTER TABLE "ScheduledMaintenanceTemplateOwnerUser" ALTER COLUMN "updatedAt" SET DEFAULT now()`,
728
+ );
729
+ }
730
+
731
+ public async down(_queryRunner: QueryRunner): Promise<void> {}
732
+ }