fix: elastic apm rum client script

This commit is contained in:
NGPixel committed 2020-09-06 16:57:45 -04:00
1 parent af054257bd
commit 9f1ba0a32f
2 files changed
+8 -7

No files matched your search

-1
View File
@@ -3,7 +3,6 @@ const has = require('lodash/has')
exports.up = async knex => {
// -> Fix 2.5.1 added isEnabled columns for beta users
const localStrategy = await knex('authentication').where('key', 'local').first()
console.info(localStrategy)
if (localStrategy && !has(localStrategy, 'isEnabled')) {
await knex.schema
.alterTable('authentication', table => {