mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-31 09:56:44 +00:00 
			
		
		
		
	
		
			
	
	
		
			37 lines
		
	
	
		
			501 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
		
		
			
		
	
	
			37 lines
		
	
	
		
			501 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
|   | 'use strict'; | ||
|  | 
 | ||
|  | const postgres = { | ||
|  |   client: 'postgres', | ||
|  |   connection: { | ||
|  |     database: 'strapi', | ||
|  |     user: 'strapi', | ||
|  |     password: 'strapi', | ||
|  |   }, | ||
|  |   // debug: true,
 | ||
|  | }; | ||
|  | 
 | ||
|  | const mysql = { | ||
|  |   client: 'mysql', | ||
|  |   connection: { | ||
|  |     database: 'strapi', | ||
|  |     user: 'strapi', | ||
|  |     password: 'strapi', | ||
|  |   }, | ||
|  |   // debug: true,
 | ||
|  | }; | ||
|  | 
 | ||
|  | const sqlite = { | ||
|  |   client: 'sqlite', | ||
|  |   connection: { | ||
|  |     filename: 'data.sqlite', | ||
|  |   }, | ||
|  |   useNullAsDefault: true, | ||
|  |   // debug: true,
 | ||
|  | }; | ||
|  | 
 | ||
|  | module.exports = { | ||
|  |   sqlite, | ||
|  |   postgres, | ||
|  |   mysql, | ||
|  | }; |