mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-31 01:47:13 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			33 lines
		
	
	
		
			470 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			470 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| 'use strict';
 | |
| 
 | |
| /**
 | |
|  * Default db infos
 | |
|  */
 | |
| module.exports = {
 | |
|   sqlite: {
 | |
|     connector: 'bookshelf',
 | |
|     settings: {
 | |
|       client: 'sqlite',
 | |
|       filename: '.tmp/data.db',
 | |
|     },
 | |
|     options: {
 | |
|       useNullAsDefault: true,
 | |
|     },
 | |
|   },
 | |
|   postgres: {
 | |
|     connector: 'bookshelf',
 | |
|     settings: {
 | |
|       client: 'postgres',
 | |
|     },
 | |
|   },
 | |
|   mysql: {
 | |
|     connector: 'bookshelf',
 | |
|     settings: {
 | |
|       client: 'mysql',
 | |
|     },
 | |
|   },
 | |
|   mongo: {
 | |
|     connector: 'mongoose',
 | |
|   },
 | |
| };
 | 
