20 lines
475 B
JavaScript
Raw Permalink Normal View History

/** @type {import("../../../").Config} */
const config = {
client: 'sqlite3',
connection: {
filename: './test.sqlite3',
},
useNullAsDefault: true,
migrations: {
extension: 'mjs',
loadExtensions: ['.mjs']
},
seeds: {
extension: 'mjs',
loadExtensions: ['.mjs']
}
};
2020-08-16 18:22:26 +02:00
/** ignored by knex */
export default config;
/** Named exports: or knex won't find them */
2020-08-16 18:22:26 +02:00
export const { client, connection, useNullAsDefault, migrations , seeds } = config;