diff --git a/CHANGELOG.md b/CHANGELOG.md index ff2254ff..8d10691d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,9 @@ All notable changes to this project will be documented in this file. ## Upcoming +### Added +- Warning with Sequelize v4 + ## v3.0.0-0 - 8th, Sep 2017 ### Removed diff --git a/src/helpers/view-helper.js b/src/helpers/view-helper.js index e1e9702d..af946a30 100644 --- a/src/helpers/view-helper.js +++ b/src/helpers/view-helper.js @@ -13,6 +13,16 @@ module.exports = { this.log(); this.log(clc.underline('Sequelize CLI [' + versions.join(', ') + ']')); this.log(); + + // Remove in v4 + if (helpers.version.getOrmVersion().match(/^4./)) { + this.log(clc.yellow( + 'WARNING: This version of Sequelize CLI is not ' + + 'fully compatible with Sequelize v4. ' + + 'https://github.com/sequelize/cli#sequelize-support' + )); + this.log(); + } }, log: console.log,