Quick change.
This commit is contained in:
parent
39392a793d
commit
ac2b87df9e
|
@ -49,7 +49,6 @@ export async function checkMissingMigrations(
|
||||||
const queue = getAppMigrationQueue()
|
const queue = getAppMigrationQueue()
|
||||||
|
|
||||||
if (
|
if (
|
||||||
queue &&
|
|
||||||
latestMigration &&
|
latestMigration &&
|
||||||
getTimestamp(currentVersion) < getTimestamp(latestMigration)
|
getTimestamp(currentVersion) < getTimestamp(latestMigration)
|
||||||
) {
|
) {
|
||||||
|
|
|
@ -13,7 +13,7 @@ export type AppMigrationJob = {
|
||||||
|
|
||||||
// always create app migration queue - so that events can be pushed and read from it
|
// always create app migration queue - so that events can be pushed and read from it
|
||||||
// across the different api and automation services
|
// across the different api and automation services
|
||||||
let appMigrationQueue = queue.createQueue<AppMigrationJob>(
|
const appMigrationQueue = queue.createQueue<AppMigrationJob>(
|
||||||
queue.JobQueue.APP_MIGRATION,
|
queue.JobQueue.APP_MIGRATION,
|
||||||
{
|
{
|
||||||
jobOptions: {
|
jobOptions: {
|
||||||
|
|
Loading…
Reference in New Issue