From a447092d0699e16b76eefc51a845668c058b9faf Mon Sep 17 00:00:00 2001 From: Anand Chowdhary Date: Wed, 17 Jul 2019 15:49:45 +0530 Subject: [PATCH] :bug: Fix table name prefix --- package.json | 2 +- setup/internal/staart-version | 2 +- src/helpers/mysql.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index d23c998f9..5e6b63773 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "staart-manager", - "version": "1.0.69", + "version": "1.0.70", "main": "index.js", "repository": "git@github.com:AnandChowdhary/staart.git", "author": "Anand Chowdhary ", diff --git a/setup/internal/staart-version b/setup/internal/staart-version index 1e9954ef9..593b66a3f 100644 --- a/setup/internal/staart-version +++ b/setup/internal/staart-version @@ -1 +1 @@ -1.0.69 \ No newline at end of file +1.0.70 \ No newline at end of file diff --git a/src/helpers/mysql.ts b/src/helpers/mysql.ts index 42de5e006..1f71ee0df 100644 --- a/src/helpers/mysql.ts +++ b/src/helpers/mysql.ts @@ -156,4 +156,4 @@ export const addIsPrimaryToEmail = async (email: Email) => { return email; }; -export const tableName = (name: string) => `${DB_TABLE_PREFIX}${name}`; +export const tableName = (name: string) => `\`${DB_TABLE_PREFIX}${name}\``;