From f5b1d8ba7f780f6915c644308b535bcdaf47be02 Mon Sep 17 00:00:00 2001 From: Vignesh Date: Fri, 26 Jul 2024 19:22:37 +0530 Subject: [PATCH] bug fix --- backend/migrations/20240725000001-update-apiKey-table.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/migrations/20240725000001-update-apiKey-table.cjs b/backend/migrations/20240725000001-update-apiKey-table.cjs index 1173517..de2a01f 100644 --- a/backend/migrations/20240725000001-update-apiKey-table.cjs +++ b/backend/migrations/20240725000001-update-apiKey-table.cjs @@ -1,7 +1,7 @@ require('dotenv').config(); async function up({ context: queryInterface }) { - await queryInterface.sequelize.query(`ALTER TABLE IF EXISTS arka.api_keys ADD COLUMN "ERC20_PAYMASTERS_V2" text default null`); + await queryInterface.sequelize.query(`ALTER TABLE IF EXISTS "${process.env.DATABASE_SCHEMA_NAME}".api_keys ADD COLUMN "ERC20_PAYMASTERS_V2" text default null`); } async function down({ context: queryInterface }) {