sequelize-automate
sequelize-automate copied to clipboard
Automatically generate bare sequelize models from your database.
Bumps [underscore](https://github.com/jashkenas/underscore) from 1.10.2 to 1.13.1. Commits 943977e Merge branch 'umd-alias', tag 1.13.1 release 5630f88 Add version 1.13.1 to the change log 5aa5b52 Update the bundle sizes 76c8d8a Bump the...
Default values for boolean columns weren't parsed properly because they're neither a string nor a number (they appear as null in the generated model).
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1. Changelog Sourced from y18n's changelog. Change Log All notable changes to this project will be documented in this file. See standard-version for commit guidelines....
Is there a way to generate, let's say, 'user' and 'company' models from my (pluralized) 'users' and 'companies' tables?
``` "sequelize-automate": "^1.2.2" ``` 请求增加配置项导出格式期望导出 'comment' 为汉字,看了源代码,不知道如何设置为utf-8,识别文字是正确的,输出文字时 输出为 ``` \u66F4\u65B0\u65F6\u95F4 ```
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8. Commits a2c5da8 1.3.8 af5c6bb Do not use Object.create(null) 8b648a1 don't test where our devdeps don't even work c74c8af 1.3.7 024b8b5 update deps, add linting...
Hello, I can't import the generated models, this is my code 👍 ``` const db = {} const __dirname = "models" fs .readdirSync(__dirname) .forEach((file) => { var a = path.join(__dirname,...
你好!想问下为什么我想match到这个表,但是每次总是会自动生成所有的呢。match中的正则应该怎么写呢(比如说我想匹配某个单词)我直接输入一个单词字符串例如 ’project‘ ,自动生成的总是所有的表模型 ``` module.exports = { dbOptions: { database: 'oa', username: 'root', password: '', dialect: 'mysql', host: 'localhost', port: 3306, logging: false, }, options: { type: 'ts', dir: 'models',...
Hello, when I use config file for generate db models nothing is created. Config file : ``` dbOptions: { dialect: 'mssql', dialectModule: require('msnodesqlv8/lib/sequelize'), bindParam: false, dialectOptions: { options: { connectionString:...
Hi! Fist of all, thank you for creating this repo! This is definitely more useful that the stale `sequelize-auto` repo out there. Unfortunately, it does not fully fit my bill....