nodejh / sequelize-automate

Automatically generate bare sequelize models from your database.
MIT License
116 stars 22 forks source link

added nvarchar data type to definitions, added additional model/file generation options, updated README #12

Closed sequ3l closed 4 years ago

sequ3l commented 4 years ago

changes:

options:

aoi-umi commented 4 years ago

option fileNameMatchesModel but fileNameMatchModel in util/definition.js

function getModelDefinitions(tables, options) {
  const { sequelizeNamespace, camelCase, noModelSuffix, fileNameCamelCase, fileNameMatchModel, dialect, } = options || {};