From 1288e51de023f11ce3deb81b7a5591e8103b1e86 Mon Sep 17 00:00:00 2001 From: garrettmills Date: Tue, 29 Mar 2022 08:46:24 -0500 Subject: [PATCH] Disable broadcasting migration events and bump version --- package.json | 2 +- src/orm/migrations/events/MigrationEvent.ts | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 277ccf0..10dbdb3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@extollo/lib", - "version": "0.9.0", + "version": "0.9.1", "description": "The framework library that lifts up your code.", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/src/orm/migrations/events/MigrationEvent.ts b/src/orm/migrations/events/MigrationEvent.ts index e5ae29c..429e301 100644 --- a/src/orm/migrations/events/MigrationEvent.ts +++ b/src/orm/migrations/events/MigrationEvent.ts @@ -1,5 +1,6 @@ import {Migration} from '../Migration' import {BaseEvent} from '../../../support/bus' +import {Awaitable} from '../../../util' /** * Generic base-class for migration-related events. @@ -10,4 +11,8 @@ export abstract class MigrationEvent extends BaseEvent { ) { super() } + + shouldBroadcast(): Awaitable { + return false + } }