Skip to content
Permalink
Branch: master
Commits on Jul 3, 2018
  1. Release 3.1.5

    huacnlee committed Jul 3, 2018
  2. Retry 3 times on startup when database connect fail in temporary, to …

    huacnlee committed Jul 3, 2018
    …avoid Egg start failed. (#57)
Commits on Feb 6, 2018
  1. fix: EGG_SERVER_ENV support for seuqlieze cli (#40)

    huacnlee authored and atian25 committed Feb 6, 2018
Commits on Nov 28, 2017
  1. docs: add README for `app.model` (#34)

    huacnlee authored and atian25 committed Nov 28, 2017
Commits on Jul 19, 2017
  1. docs: add a migration example for show up use `co.wrap`. (#24)

    huacnlee committed Jul 19, 2017
Commits on Jun 19, 2017
  1. 3.0.1

    huacnlee committed Jun 19, 2017
  2. 3.0.0

    huacnlee committed Jun 19, 2017
Commits on Jun 16, 2017
  1. feat: Upgrade Sequelize V4. (#18)

    huacnlee authored and atian25 committed Jun 16, 2017
Commits on May 11, 2017
  1. fix: try to find sequelize-cli in node_modules path

    huacnlee committed May 11, 2017
  2. bump 2.1.1

    huacnlee committed May 11, 2017
Commits on May 10, 2017
  1. bump 2.1.0

    huacnlee committed May 10, 2017
  2. feat: add `egg-sequelize` bin for Sequelize migrations support. (#11)

    huacnlee authored and popomore committed May 10, 2017
Commits on Apr 27, 2017
  1. fix: ignore non Sequelize files in app/model path for Model loader. (#10

    huacnlee authored and popomore committed Apr 27, 2017
    )
Commits on Mar 14, 2017
  1. fix: Allow all of Sequelize options in `config.sequelize` (#5)

    huacnlee authored and fengmk2 committed Mar 14, 2017
    http://docs.sequelizejs.com/en/v3/api/sequelize/#new-sequelizedatabase-usernamenull-passwordnull-options
    
    for example:
    
    ```js
    exports.sequelize = {
      port: '3306',
      host: 'localhost',
      username: 'root',
      password: '',
      database: 'test',
      dialect: 'mysql',
      pool: {
        max: 5,
        min: 0,
        idle: 10000,
      },
      storage: 'db/test-foo.sqlite',
      timezone: '+08:01',
    };
    ```
    
    Do not assert config.host, password, port config, let them has default value.
    Do not assert config.database, because SQLite case not need it.
Commits on Mar 13, 2017
  1. feat: [BREAKING_CHANGE] Update default Sequelize configs (#4)

    huacnlee authored and jtyjty99999 committed Mar 13, 2017
    * feat: 1. Automation set tableName as pluralize style.2. Default `underscored`, `timestamps` config.3. Change default model style.
    
    * feat:use model define style:
    
    * feat:Remove inflected, use egg-core feature to covert upperCase Model Name
    
    * feat:Use instaceof to ensure that object is a Model instance
    
    * feat: Output SQL queries log via app.logger.info, and highlight sql log.
    
    * feat: Use chalk for colorize SQL stdout
You can’t perform that action at this time.