Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

match option 无效 #42

Open
jiangdonghan opened this issue Oct 23, 2020 · 0 comments
Open

match option 无效 #42

jiangdonghan opened this issue Oct 23, 2020 · 0 comments

Comments

@jiangdonghan
Copy link

jiangdonghan commented Oct 23, 2020

你好!想问下为什么我想match到这个表,但是每次总是会自动生成所有的呢。match中的正则应该怎么写呢(比如说我想匹配某个单词)我直接输入一个单词字符串例如 ’project‘ ,自动生成的总是所有的表模型

module.exports = {
  dbOptions: {
    database: 'oa',
    username: 'root',
    password: '',
    dialect: 'mysql',
    host: 'localhost',
    port: 3306,
    logging: false,
  },
  options: {
    type: 'ts',
    dir: 'models',
    camelCase: true,
    match: 'project_evaluation_info',
    typesDir: 'auto-build',
  },
}

 sequelize-automate -c "./automate.config.js"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant