mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
Fixed typos connnection -> connection
This commit is contained in:
parent
4c4a47825d
commit
1e3fc8b532
@ -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…
Reference in New Issue
Block a user