mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Fixed typos connnection -> connection
This commit is contained in:
parent
4c4a47825d
commit
1e3fc8b532
1 changed files with 3 additions and 3 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue