While out of the box Sequelize will seem a bit opinionated it's trivial to both legacy and forward proof your application by defining (otherwise generated) table and field names.
While out of the box Sequelize will seem a bit opinionated it's easy to work legacy tables and forward proof your application by defining (otherwise generated) table and field names.
## Tables
## Tables
```js
```js
sequelize.define('user',{
sequelize.define('user',{
// ...
},{
},{
tableName:'users'
tableName:'users'
});
});
...
@@ -48,14 +48,14 @@ And if your model has no primary key at all you can use `Model.removeAttribute('
...
@@ -48,14 +48,14 @@ And if your model has no primary key at all you can use `Model.removeAttribute('