12 lines
249 B
TypeScript
12 lines
249 B
TypeScript
import path from 'path';
|
|
|
|
export default ({ env }) => ({
|
|
connection: {
|
|
client: 'sqlite',
|
|
connection: {
|
|
filename: path.join(__dirname, '..', '..', env('DATABASE_FILENAME', '.tmp/data.db')),
|
|
},
|
|
useNullAsDefault: true,
|
|
},
|
|
});
|