config/mysql: create database by default, use swaf user with password swaf by default, don't create database in production

This commit is contained in:
Alice Gaudon 2024-09-21 18:39:02 +02:00
parent 8ae520aa07
commit b59e053cad
3 changed files with 6 additions and 6 deletions

View File

@ -37,10 +37,10 @@
mysql: {
connectionLimit: 10,
host: "127.0.0.1",
user: "root",
password: "",
user: "swaf",
password: "swaf",
database: "swaf",
create_database_automatically: false,
create_database_automatically: true,
},
redis: {
host: "127.0.0.1",

View File

@ -16,6 +16,9 @@
secure: true,
allow_invalid_tls: false,
},
mysql: {
create_database_automatically: false,
},
session: {
cookie: {
secure: true,

View File

@ -3,9 +3,6 @@
approval_mode: true,
},
mysql: {
host: "127.0.0.1",
user: "root",
password: "",
database: "swaf_test",
create_database_automatically: true,
},