mirror of
https://github.com/strapi/strapi.git
synced 2025-07-04 15:42:03 +00:00
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,
|
||
|
},
|
||
|
});
|