chore: Use ts migration files also for test env

This commit is contained in:
Faruk AYDIN
2023-10-01 17:51:15 +02:00
parent 0e5529b4ca
commit 9228722147
2 changed files with 3 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
import appConfig from './src/config/app';
const fileExtension = appConfig.isDev ? 'ts' : 'js';
const fileExtension = appConfig.isDev || appConfig.isTest ? 'ts' : 'js';
const knexConfig = {
client: 'pg',