removed db dev

This commit is contained in:
Sebastian Seedorf
2022-02-04 17:50:16 +01:00
parent 19e92b7130
commit 51fbdc28b2
3 changed files with 6 additions and 7 deletions

View File

@@ -20,8 +20,7 @@ module.exports = ({ env }) => {
connection: { connection: {
client, client,
connection: client === 'sqlite' ? sqlLite(env) : sqlDb(env, client), connection: client === 'sqlite' ? sqlLite(env) : sqlDb(env, client),
useNullAsDefault: true, useNullAsDefault: true
debug: env('NODE_ENV', 'development') === 'development'
}, },
}); });
}; };

8
package-lock.json generated
View File

@@ -10,10 +10,10 @@
"hasInstallScript": true, "hasInstallScript": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@strapi/plugin-graphql": "^4.0.6", "@strapi/plugin-graphql": "4.0.6",
"@strapi/plugin-i18n": "^4.0.6", "@strapi/plugin-i18n": "4.0.6",
"@strapi/plugin-users-permissions": "^4.0.6", "@strapi/plugin-users-permissions": "4.0.6",
"@strapi/strapi": "^4.0.6", "@strapi/strapi": "4.0.6",
"mysql": "^2.18.1", "mysql": "^2.18.1",
"sqlite3": "^5.0.2" "sqlite3": "^5.0.2"
}, },

View File

@@ -6,7 +6,7 @@
"scripts": { "scripts": {
"develop": "strapi develop", "develop": "strapi develop",
"start": "strapi start", "start": "strapi start",
"build": "NODE_ENV=development strapi build", "build": "NODE_ENV=production strapi build",
"strapi": "strapi", "strapi": "strapi",
"postinstall": "node ./bin/postinstall.js" "postinstall": "node ./bin/postinstall.js"
}, },