Skip to content

Commit

Permalink
fix(create): Remove redundant synchronize warning
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbromley committed May 27, 2021
1 parent 6c1b2d0 commit 73841e4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/create/templates/vendure-config.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down

0 comments on commit 73841e4

Please sign in to comment.