Disable broadcasting migration events and bump version

orm-types
Garrett Mills 2 years ago
parent 1fde692a65
commit 1288e51de0

@ -1,6 +1,6 @@
{ {
"name": "@extollo/lib", "name": "@extollo/lib",
"version": "0.9.0", "version": "0.9.1",
"description": "The framework library that lifts up your code.", "description": "The framework library that lifts up your code.",
"main": "lib/index.js", "main": "lib/index.js",
"types": "lib/index.d.ts", "types": "lib/index.d.ts",

@ -1,5 +1,6 @@
import {Migration} from '../Migration' import {Migration} from '../Migration'
import {BaseEvent} from '../../../support/bus' import {BaseEvent} from '../../../support/bus'
import {Awaitable} from '../../../util'
/** /**
* Generic base-class for migration-related events. * Generic base-class for migration-related events.
@ -10,4 +11,8 @@ export abstract class MigrationEvent extends BaseEvent {
) { ) {
super() super()
} }
shouldBroadcast(): Awaitable<boolean> {
return false
}
} }

Loading…
Cancel
Save