mirror of
https://github.com/strapi/strapi.git
synced 2025-07-07 09:02:42 +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,
|
||
|
};
|