migration-config.js
332 Bytes
import path from 'node:path'
import { fileURLToPath } from 'node:url'
const here = path.dirname(fileURLToPath(import.meta.url))
export const migrationTableName = 'voko_schema_migrations'
export const vokoMigrationConfig = {
directory: path.join(here, 'migrations'),
tableName: migrationTableName,
loadExtensions: ['.js'],
}