Browse Source

fix(create): Remove redundant synchronize warning

Michael Bromley 4 years ago
parent
commit
73841e40d5
1 changed files with 0 additions and 4 deletions
  1. 0 4
      packages/create/templates/vendure-config.hbs

+ 0 - 4
packages/create/templates/vendure-config.hbs

@@ -51,11 +51,7 @@ const path = require('path');
     },
     dbConnectionOptions: {
         type: '{{ dbType }}',
-        {{#if requiresConnection}}
         synchronize: true, // turn this off for production
-        {{else}}
-        synchronize: false, // not working with SQLite/SQL.js, see https://github.com/typeorm/typeorm/issues/2576
-        {{/if}}
         logging: false,
         database: {{#if isSQLjs}}new Uint8Array([]){{else if isSQLite}}path.join(__dirname, '../vendure.sqlite'){{else}}'{{ dbName }}'{{/if}},
         {{#if isSQLjs}}