appirio-tech/lc1-challenge-service — pull request #20 by mahnunchik (2014-11-11 17:03:53+00:00)
Title: Trying to make database fields to be underscored

Trying to make database fields to be underscored. Sequelize updated to 2.0.0-rc2
* Unit tests pass
* Controllers tests fails

Following construction allowed me to use `createdAt` and `updatedAt` without overwriting their default:
```js
getterMethods: {
createdAt: function() {
return this.getDataValue('created_at');
},
updatedAt: function() {
return this.getDataValue('updated_at');
}
}
```

In additional if we use Sequelize 2.0 maybe it make sence to use migrations from sequelize: http://sequelizejs.com/docs/latest/migrations