From 1e3fc8b532b95a52cf600eb18bbc866f385e99fc Mon Sep 17 00:00:00 2001 From: Naz Date: Wed, 24 Feb 2021 12:04:53 +1300 Subject: [PATCH] Fixed typos connnection -> connection --- core/server/data/schema/commands.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/server/data/schema/commands.js b/core/server/data/schema/commands.js index 01fbeea0f6..d60980f6bf 100644 --- a/core/server/data/schema/commands.js +++ b/core/server/data/schema/commands.js @@ -68,7 +68,7 @@ function dropColumn(tableName, column, transaction) { * * @param {string} tableName - name of the table to add unique constraint to * @param {string|[string]} columns - column(s) to form unique constraint with - * @param {Object} transaction - connnection object containing knex reference + * @param {Object} transaction - connection object containing knex reference * @param {Object} transaction.knex - knex instance */ async function hasUnique(tableName, columns, transaction) { @@ -108,7 +108,7 @@ async function hasUnique(tableName, columns, transaction) { * * @param {string} tableName - name of the table to add unique constraint to * @param {string|[string]} columns - column(s) to form unique constraint with - * @param {Object} transaction - connnection object containing knex reference + * @param {Object} transaction - connection object containing knex reference * @param {Object} transaction.knex - knex instance */ async function addUnique(tableName, columns, transaction) { @@ -129,7 +129,7 @@ async function addUnique(tableName, columns, transaction) { * * @param {string} tableName - name of the table to drop unique constraint from * @param {string|[string]} columns - column(s) unique constraint was formed - * @param {Object} transaction - connnection object containing knex reference + * @param {Object} transaction - connection object containing knex reference * @param {Object} transaction.knex - knex instance */ async function dropUnique(tableName, columns, transaction) {