ready to test

Testing

Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
This commit is contained in:
2026-06-22 10:06:58 +08:00
parent bf48c95467
commit 439bb33f77
189 changed files with 17559 additions and 686 deletions
+26
View File
@@ -0,0 +1,26 @@
'use strict';
require('dotenv').config();
const useSSL = process.env.DB_SSL !== 'false';
const base = {
username: process.env.DB_USER,
password: process.env.DB_PASSWORD,
database: process.env.DB_NAME,
host: process.env.DB_HOST,
port: parseInt(process.env.DB_PORT, 10) || 26257,
dialect: 'postgres',
dialectOptions: {
...(useSSL && {
ssl: {
require: true,
rejectUnauthorized: false,
},
}),
},
};
module.exports = {
development: base,
production: base,
};