Skip to content

Commit

Permalink
chore(EMS-4016): fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ttbarnes committed Jan 20, 2025
1 parent d62f4a7 commit 7299b1b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const { STATUS } = APPLICATION;
* @returns {Promise<Array<object>>} executeSqlQuery response
*/
const updateApplicationMigrated = (connection: Connection) => {
const loggingMessage = `Updating migratedV1toV2 FIELD to true in the application table`;
const loggingMessage = `Updating migratedV1toV2 FIELD to true in the Application table`;

const query = `
UPDATE Application SET migratedV1toV2 = 1 WHERE status = '${STATUS.IN_PROGRESS}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const { STATUS, LATEST_VERSION_NUMBER, VERSIONS } = APPLICATION;
const updateApplicationVersion = (connection: Connection) => {
const originalVersionNumber = VERSIONS[0].VERSION_NUMBER;

const loggingMessage = `Updating IN_PROGRESS FIELD VERSION from ${originalVersionNumber} to ${LATEST_VERSION_NUMBER} in the application table`;
const loggingMessage = `Updating IN_PROGRESS FIELD VERSION from ${originalVersionNumber} to ${LATEST_VERSION_NUMBER} in the Application table`;

const query = `
UPDATE Application SET version = '${LATEST_VERSION_NUMBER}' WHERE status = '${STATUS.IN_PROGRESS}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const { STATUS } = APPLICATION;
* @returns {Promise<Array<object>>} executeSqlQuery response
*/
const updateApplicationMigrated = (connection: Connection) => {
const loggingMessage = `Updating migratedV2toV3 FIELD to true in the application table`;
const loggingMessage = `Updating migratedV2toV3 FIELD to true in the Application table`;

const query = `
UPDATE Application SET migratedV2toV3 = 1 WHERE status = '${STATUS.IN_PROGRESS}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const { STATUS, LATEST_VERSION_NUMBER, VERSIONS } = APPLICATION;
const updateApplicationVersion = (connection: Connection) => {
const originalVersionNumber = VERSIONS[1].VERSION_NUMBER;

const loggingMessage = `Updating IN_PROGRESS FIELD VERSION from ${originalVersionNumber} to ${LATEST_VERSION_NUMBER} in the application table`;
const loggingMessage = `Updating IN_PROGRESS FIELD VERSION from ${originalVersionNumber} to ${LATEST_VERSION_NUMBER} in the Application table`;

const query = `
UPDATE Application SET version = '${LATEST_VERSION_NUMBER}' WHERE status = '${STATUS.IN_PROGRESS}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const { STATUS } = APPLICATION;
* @returns {Promise<object>} executeSqlQuery response
*/
const updateInProgressApplicationsMigratedTo = (connection: Connection) => {
const loggingMessage = `Updating in progress application's migratedTo FIELD to 5 in the application table`;
const loggingMessage = `Updating in progress application's migratedTo FIELD to 5 in the Application table`;

const query = `
UPDATE Application SET migratedTo=5 WHERE status = '${STATUS.IN_PROGRESS}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const { STATUS, LATEST_VERSION_NUMBER, VERSIONS } = APPLICATION;
const updateApplicationVersion = (connection: Connection) => {
const originalVersionNumber = VERSIONS[2].VERSION_NUMBER;

const loggingMessage = `Updating IN_PROGRESS FIELD VERSION from ${originalVersionNumber} to ${LATEST_VERSION_NUMBER} in the application table`;
const loggingMessage = `Updating IN_PROGRESS FIELD VERSION from ${originalVersionNumber} to ${LATEST_VERSION_NUMBER} in the Application table`;

const query = `
UPDATE Application SET version = '${LATEST_VERSION_NUMBER}' WHERE status = '${STATUS.IN_PROGRESS}'
Expand Down

0 comments on commit 7299b1b

Please sign in to comment.