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 }) {