Compare commits

...

78 Commits

Author SHA1 Message Date
ihsan 4495f910b0 update 2023-03-03 17:36:45 +07:00
ihsan f7c5cf33f6 update 2023-03-03 16:03:34 +07:00
ihsan 870d8aea46 skip check amount topup 2023-02-27 12:40:48 +07:00
ihsan b46d3a5b25 update 2023-02-24 16:53:38 +07:00
ihsan 5408639d80 update reservation amount total 2023-02-24 15:56:52 +07:00
ihsan 9b2ab48e99 update 2023-02-22 10:24:24 +07:00
ihsan a35492c124 update 2023-02-22 08:20:55 +07:00
ihsan e1f0c60b37 update 2023-02-22 01:24:46 +07:00
ihsan 16afd42876 update 2023-02-22 00:59:36 +07:00
ihsan 3722be6eeb update 2023-02-22 00:44:59 +07:00
ihsan 493f131779 update 2023-02-22 00:36:24 +07:00
ihsan f10ff80284 update 2023-02-22 00:32:01 +07:00
ihsan f30ee86552 update 2023-02-22 00:26:49 +07:00
ihsan e8de33b663 update 2023-02-22 00:13:41 +07:00
ihsan 68ebfb0ac2 update 2023-02-21 20:02:33 +07:00
ihsan 96c46ad49c update 2023-02-21 19:56:53 +07:00
ihsan 10e38babcd update 2023-02-21 19:54:06 +07:00
ihsan 8bc68493cf update 2023-02-21 19:49:42 +07:00
ihsan 2b1b14548a update 2023-02-21 19:46:28 +07:00
ihsan 240bb5fa17 update 2023-02-21 19:44:37 +07:00
ihsan 7676ec54ef update 2023-02-21 19:42:22 +07:00
ihsan de0a8847b5 update 2023-02-21 19:39:57 +07:00
ihsan 4df41a426c update 2023-02-21 19:36:51 +07:00
ihsan 3401e425b4 updaye 2023-02-21 19:33:43 +07:00
ihsan 0d29175942 update 2023-02-21 19:19:07 +07:00
ihsan 4f03433bb2 update 2023-02-21 19:17:07 +07:00
ihsan 1df5f97543 update 2023-02-21 19:08:11 +07:00
ihsan a222714bcb update 2023-02-21 19:07:02 +07:00
ihsan 2249bbbbaf update 2023-02-21 19:01:02 +07:00
ihsan 16fbfdcae1 update 2023-02-21 18:02:58 +07:00
ihsan 6b5f92e597 update 2023-02-21 14:52:28 +07:00
ihsan baf99a975d update bugs 2023-02-21 14:40:05 +07:00
ihsan 70b9ef78cb update 2023-02-20 23:54:54 +07:00
ihsan 4169b40e97 update 2023-02-20 23:52:36 +07:00
ihsan 3566f63bea update 2023-02-20 23:50:21 +07:00
ihsan 066fd49173 update 2023-02-20 23:49:00 +07:00
ihsan 2c0ffbd9d6 update 2023-02-20 23:47:30 +07:00
ihsan ee46232c7a update 2023-02-20 23:46:38 +07:00
ihsan 15131cebb1 update 2023-02-20 23:31:42 +07:00
ihsan 6ff785de5a Merge branch 'nuranggi' into feature_fraud 2023-02-20 23:26:52 +07:00
Nuranggi Hermawan 8e997346d2 UPdate 2023-02-20 23:25:33 +07:00
Nuranggi Hermawan 80dda817fb Update 2023-02-20 23:24:55 +07:00
Nuranggi Hermawan 410ef5ac53 Update 2023-02-20 23:24:07 +07:00
ihsan d9d5be8921 update 2023-02-20 23:24:01 +07:00
ihsan 574092e015 update 2023-02-20 23:18:09 +07:00
ihsan 5ece7912f4 update 2023-02-20 23:15:38 +07:00
ihsan 2540b1c6c0 update 2023-02-20 23:12:29 +07:00
ihsan 4feb7a7724 update 2023-02-20 23:10:14 +07:00
ihsan 4994278078 UPDATE 2023-02-20 23:09:31 +07:00
ihsan c6488f7f69 update 2023-02-20 23:06:20 +07:00
ihsan f0bbf54afc update 2023-02-20 22:53:16 +07:00
ihsan 7c6ab450be update 2023-02-20 22:51:09 +07:00
ihsan 1524d643c6 update 2023-02-20 22:49:18 +07:00
ihsan 36b61697dd update 2023-02-20 22:46:25 +07:00
ihsan 8366d9b38b update 2023-02-20 22:42:35 +07:00
ihsan ed7e0ce127 update 2023-02-20 22:39:46 +07:00
ihsan 8d1e2075c3 update 2023-02-20 22:38:24 +07:00
ihsan 5df52be111 update 2023-02-20 22:37:15 +07:00
ihsan 6e0627fb86 update 2023-02-20 22:34:40 +07:00
ihsan 0235cdb7c0 update 2023-02-20 22:31:14 +07:00
ihsan a64c38b928 update 2023-02-20 22:27:40 +07:00
ihsan 99f004adf2 update 2023-02-20 22:22:55 +07:00
Nuranggi Hermawan 3e5d73dd56 Merge branch 'feature_fraud' of https://github.com/mohamadihsan/topuponline into nuranggi 2023-02-20 22:18:19 +07:00
Nuranggi Hermawan 4481079289 Update 2023-02-20 22:18:02 +07:00
ihsan 9bc1260bc0 update 2023-02-20 22:13:50 +07:00
ihsan df8ad92eba update 2023-02-20 22:10:55 +07:00
ihsan 3b8d9d20ff update merge 2023-02-20 22:08:03 +07:00
Nuranggi Hermawan 5197966807 Udpate 2023-02-20 22:06:22 +07:00
ihsan 966c7b1f60 update 2023-02-20 21:49:33 +07:00
ihsan 002f1375e4 merge 2023-02-20 21:39:20 +07:00
ihsan ada8358c07 merge 2023-02-20 21:37:17 +07:00
Nuranggi Hermawan b587640684 Update 2023-02-20 21:35:43 +07:00
Nuranggi Hermawan 7d56ebbe77 Update 2023-02-20 21:32:12 +07:00
Nuranggi Hermawan 015832c683 Update 2023-02-20 21:23:47 +07:00
Nuranggi Hermawan 79a5c5951b Update 2023-02-20 21:19:59 +07:00
ihsan c54a030519 update fraud 2023-02-20 21:16:12 +07:00
Nuranggi Hermawan 775b36cfd2 Update 2023-02-20 21:03:02 +07:00
ihsan b796bfdd5c update 2023-02-20 17:15:09 +07:00
3 changed files with 1215 additions and 483 deletions
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+65 -65
View File
@@ -1,4 +1,4 @@
require("dotenv").config();
require('dotenv').config();
let host;
let database;
@@ -6,77 +6,77 @@ let port;
let user;
let password;
if (process.env.SERVER_FOR == "local") {
host = "localhost";
database = "postgres";
if (process.env.SERVER_FOR == 'local') {
host = 'localhost';
database = 'postgres';
port = 5432;
user = "postgres";
password = "postgres";
} else if (process.env.SERVER_FOR == "development") {
host = "10.20.14.14";
database = "postgres";
user = 'postgres';
password = 'postgres';
} else if (process.env.SERVER_FOR == 'development') {
host = '10.20.14.14';
database = 'postgres';
port = 5432;
user = "cms";
password = "Cm5kc1#2021";
} else if (process.env.SERVER_FOR == "production") {
host = "10.1.201.75";
database = "postgres";
user = 'postgres';
password = 'inhc0mmute_cms';
} else if (process.env.SERVER_FOR == 'production') {
host = '10.1.201.75';
database = 'postgres';
port = 5432;
user = "postgres";
password = "inhc0mmute_cms";
user = 'postgres';
password = 'inhc0mmute_cms';
}
module.exports = {
// development: {
// client: "pg",
// connection: process.env.DB_URL,
// migrations: {
// directory: "./infrastructure/database/migrations",
// },
// seeds: { directory: "./infrastructure/database/seeds" },
// },
development: {
client: "pg",
connection: {
host: host,
database: database,
user: user,
password: password,
},
// connection: process.env.DB_URL,
pool: {
min: 2,
max: 10,
},
migrations: {
directory: "./infrastructure/database/migrations",
},
module.exports = {
// development: {
// client: "pg",
// connection: process.env.DB_URL,
// migrations: {
// directory: "./infrastructure/database/migrations",
// },
// seeds: { directory: "./infrastructure/database/seeds" },
// },
development: {
client: 'pg',
connection: {
host: host,
database: database,
user: user,
password: password,
},
// connection: process.env.DB_URL,
pool: {
min: 2,
max: 10,
},
migrations: {
directory: './infrastructure/database/migrations',
},
},
testing: {
client: "pg",
connection: process.env.DB_URL,
migrations: {
directory: "./infrastructure/database/migrations",
},
seeds: { directory: "./infrastructure/database/seeds" },
testing: {
client: 'pg',
connection: process.env.DB_URL,
migrations: {
directory: './infrastructure/database/migrations',
},
seeds: { directory: './infrastructure/database/seeds' },
},
production: {
client: "pg",
connection: {
host: host,
database: database,
user: user,
password: password,
},
// connection: process.env.DB_URL,
pool: {
min: 2,
max: 10,
},
migrations: {
directory: "./infrastructure/database/migrations",
},
production: {
client: 'pg',
connection: {
host: host,
database: database,
user: user,
password: password,
},
};
// connection: process.env.DB_URL,
pool: {
min: 2,
max: 10,
},
migrations: {
directory: './infrastructure/database/migrations',
},
},
};