@attraccess/plugin-wago 0.1.0-alpha.0 → 0.1.0-nightly.1002.1
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/migrations.js
CHANGED
|
@@ -34,6 +34,7 @@ __export(migrations_exports, {
|
|
|
34
34
|
AddWagoRejectionAcknowledgement1780010630000: () => AddWagoRejectionAcknowledgement1780010630000,
|
|
35
35
|
AddWagoRevisionEditorMetadata1780010580000: () => AddWagoRevisionEditorMetadata1780010580000,
|
|
36
36
|
CreateWagoControllers1780000000000: () => CreateWagoControllers1780000000000,
|
|
37
|
+
DropWagoCommissioningLease1780010640000: () => DropWagoCommissioningLease1780010640000,
|
|
37
38
|
WagoCommissioningLease1780000000011: () => WagoCommissioningLease1780000000011,
|
|
38
39
|
WagoCredentialRotation1780010610000: () => WagoCredentialRotation1780010610000,
|
|
39
40
|
WagoManagement1780000000010: () => WagoManagement1780000000010
|
|
@@ -363,6 +364,25 @@ var AddWagoRejectionAcknowledgement1780010630000 = class {
|
|
|
363
364
|
await queryRunner.query('ALTER TABLE "plugin_wago_configuration_revisions" DROP COLUMN "rejection_acknowledged_at"');
|
|
364
365
|
}
|
|
365
366
|
};
|
|
367
|
+
|
|
368
|
+
// backend/migrations/1780010640000-drop-wago-commissioning-lease.ts
|
|
369
|
+
var DropWagoCommissioningLease1780010640000 = class {
|
|
370
|
+
constructor() {
|
|
371
|
+
__publicField(this, "name", "DropWagoCommissioningLease1780010640000");
|
|
372
|
+
}
|
|
373
|
+
async up(queryRunner) {
|
|
374
|
+
await queryRunner.query('DROP TABLE IF EXISTS "plugin_wago_commissioning_lease"');
|
|
375
|
+
}
|
|
376
|
+
async down(queryRunner) {
|
|
377
|
+
await queryRunner.query(`CREATE TABLE "plugin_wago_commissioning_lease" (
|
|
378
|
+
"fingerprint_hash" varchar(64) PRIMARY KEY NOT NULL,
|
|
379
|
+
"owner" varchar NOT NULL,
|
|
380
|
+
"lease_until" bigint NOT NULL,
|
|
381
|
+
"operation_until" bigint NOT NULL,
|
|
382
|
+
"recovery_after" bigint NOT NULL
|
|
383
|
+
)`);
|
|
384
|
+
}
|
|
385
|
+
};
|
|
366
386
|
// Annotate the CommonJS export names for ESM import in node:
|
|
367
387
|
0 && (module.exports = {
|
|
368
388
|
AddWagoClaimIntent1780010600000,
|
|
@@ -378,6 +398,7 @@ var AddWagoRejectionAcknowledgement1780010630000 = class {
|
|
|
378
398
|
AddWagoRejectionAcknowledgement1780010630000,
|
|
379
399
|
AddWagoRevisionEditorMetadata1780010580000,
|
|
380
400
|
CreateWagoControllers1780000000000,
|
|
401
|
+
DropWagoCommissioningLease1780010640000,
|
|
381
402
|
WagoCommissioningLease1780000000011,
|
|
382
403
|
WagoCredentialRotation1780010610000,
|
|
383
404
|
WagoManagement1780000000010
|