Need proper adapter defaults (index.js)

Issue #5 new
Jesse G created an issue

// Default configuration for collections // (same effect as if these properties were included at the top level of the model definitions) defaults: {

  // For example:
  // port: 3306,
  // host: 'localhost',
  // schema: true,
  // ssl: false,
  // customThings: ['eh']

  // If setting syncable, you should consider the migrate option, 
  // which allows you to set how the sync will be performed.
  // It can be overridden globally in an app (config/adapters.js)
  // and on a per-model basis.
  // 
  // IMPORTANT:
  // `migrate` is not a production data migration solution!
  // In production, always use `migrate: safe`
  //
  // drop   => Drop schema and data, then recreate it
  // alter  => Drop/add columns as necessary.
  // safe   => Don't change anything (good for production DBs)
  migrate: 'alter'
},

Comments (0)

  1. Log in to comment