mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-31 09:56:44 +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,
 | |
|   },
 | |
| });
 | 
