mirror of
https://github.com/knex/knex.git
synced 2025-12-02 09:57:48 +00:00
18 lines
328 B
JavaScript
18 lines
328 B
JavaScript
/**
|
|
* @returns {Promise<import("../../../").Config>}
|
|
* */
|
|
export default async () => {
|
|
const { default: config } = await import(
|
|
'../knexfile-esm/knexfile.default.js'
|
|
);
|
|
return {
|
|
...config,
|
|
migrations: {
|
|
directory: './esm/migrations',
|
|
},
|
|
seeds: {
|
|
directory: './esm/seeds',
|
|
},
|
|
};
|
|
};
|