diff --git a/engine/engine/createDbFromSchema.js b/engine/engine/createDbFromSchema.js index f205568..fd41144 100644 --- a/engine/engine/createDbFromSchema.js +++ b/engine/engine/createDbFromSchema.js @@ -36,10 +36,8 @@ async function createDbFromSchema(dbSchema) { * * @description Grab Schema */ - console.log("Starting createDbFromSchema ..."); if (!dbSchema || !Array.isArray(dbSchema) || !dbSchema[0]) { - console.log("Invalid DB schema data"); return; } @@ -48,8 +46,6 @@ async function createDbFromSchema(dbSchema) { const database = dbSchema[i]; const { dbFullName, tables } = database; - console.log("Now constructing database =>", database?.dbFullName); - //////////////////////////////////////// //////////////////////////////////////// //////////////////////////////////////// @@ -57,8 +53,6 @@ async function createDbFromSchema(dbSchema) { /** @type {{ dbFullName: string }[] | null} */ const dbCheck = await noDatabaseDbHandler({ query: `SELECT SCHEMA_NAME AS dbFullName FROM INFORMATION_SCHEMA.SCHEMATA WHERE SCHEMA_NAME = '${dbFullName}'` }); - console.log("DB CHeck =>", dbCheck); - if (dbCheck && dbCheck[0]?.dbFullName) { // Database Exists } else { diff --git a/package.json b/package.json index a5859f7..b3c77b7 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,11 @@ { "name": "datasquirel", - "version": "1.5.2", + "version": "1.5.3", "description": "Cloud-based SQL data management tool", "main": "index.js", "bin": { "dsql-watch": "./engine/dsql.js" }, - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, "repository": { "type": "git", "url": "git+https://github.com/BenjaminToby/dsql.git"