Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | const {
DB_HOST,
DB_NAME,
DB_USER,
DB_PASS,
DB_PORT,
} = require("./itsJustJavascript/settings/serverSettings")
module.exports = {
type: "mysql",
host: DB_HOST || "localhost",
port: DB_PORT || 3306,
username: DB_USER || "root",
password: DB_PASS || "",
database: DB_NAME,
entities: ["itsJustJavascript/db/model/**/*.js"],
migrations: ["itsJustJavascript/db/migration/**/*.js"],
cli: {
entitiesDir: "db/model",
migrationsDir: "db/migration",
},
}
|