feat: Convert migration files to JS

This commit is contained in:
Faruk AYDIN
2024-01-04 21:44:40 +01:00
parent 6d1bfc0be0
commit 0f71924d06
64 changed files with 235 additions and 326 deletions

View File

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