/**
 * User
 *
 * @module      :: Model
 * @description :: A short summary of how this model works and what it represents.
 * @docs		:: http://sailsjs.org/#!documentation/models
 */

module.exports = {

  attributes: {
    email: {
        type: 'email',
        required: true
    },
    name: 'STRING'  	
  	/* e.g.
  	nickname: 'string'
  	*/
    
  }

};

/**
 * User
 *
 * @module      :: Model
 * @description :: A short summary of how this model works and what it represents.
 * @docs		:: http://sailsjs.org/#!documentation/models
 */

module.exports = {
  tableName : 'sails_user',
  attributes: {
    email: {
        type: 'email',
        required: true
    },
    name: 'STRING'  	
  	/* e.g.
  	nickname: 'string'
  	*/
    
  }

};

Change db table name to not be reserved sql keyword
Change db table name to not be reserved sql keyword
