From a92624d0868c9c3e63d325405f7b0a64ab8a96b9 Mon Sep 17 00:00:00 2001 From: Semjon Nordmann Date: Sun, 10 Mar 2024 10:03:58 +0100 Subject: [PATCH] Fix eslint errors in migrations --- .../migrations/20240310085523_proxy_protocol.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/backend/migrations/20240310085523_proxy_protocol.js b/backend/migrations/20240310085523_proxy_protocol.js index 3a65268f..a520d924 100644 --- a/backend/migrations/20240310085523_proxy_protocol.js +++ b/backend/migrations/20240310085523_proxy_protocol.js @@ -30,12 +30,12 @@ exports.up = function (knex/*, Promise*/) { * @param {Promise} Promise * @returns {Promise} */ -exports.down = function (knex, Promise) { +exports.down = function (knex/*, Promise*/) { return knex.schema.table('proxy_host', function (proxy_host) { - proxy_host.dropColumn('enable_proxy_protocol') - proxy_host.dropColumn('load_balancer_ip') - }) - .then(function () { - logger.info('[' + migrate_name + '] proxy_host Table altered'); - }); + proxy_host.dropColumn('enable_proxy_protocol'); + proxy_host.dropColumn('load_balancer_ip'); + }) + .then(function () { + logger.info('[' + migrate_name + '] proxy_host Table altered'); + }); }; \ No newline at end of file