fix
continuous-integration/drone/push Build is passing Details

CI/CD
Thomas Chazot 1 year ago
parent c788952c7b
commit c92ec668aa

@ -33,7 +33,7 @@ class DatabaseService {
reject(err); reject(err);
} else { } else {
if (createTables === "true"){ if (createTables === "true"){
this.createTables() await this.createTables()
console.log("create table") console.log("create table")
} }
@ -42,7 +42,7 @@ class DatabaseService {
const showTablesQuery = 'SHOW TABLES'; const showTablesQuery = 'SHOW TABLES';
// Execute the query // Execute the query
const [rows, fields] = await connection.promise().query(showTablesQuery); const [rows, fields] = await this.client.promise().query(showTablesQuery);
// Extract table names from the result // Extract table names from the result
const tableNames = rows.map(row => row[`Tables_in_${dbConfig.database}`]); const tableNames = rows.map(row => row[`Tables_in_${dbConfig.database}`]);

@ -8,7 +8,7 @@ const tmp2 = ADRESSE_WEBSERVER
const ADRESSE_WEBSITE = "" const ADRESSE_WEBSITE = ""
const basePath = process.env.REACT_APP_BASEPATH || ''; const basePath = process.env.REACT_APP_BASEPATH || 'containers/Crypteam-website';
console.log(basePath) console.log(basePath)

Loading…
Cancel
Save