Skip to content

match option 无效 #42

@jiangdonghan

Description

@jiangdonghan

你好!想问下为什么我想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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions