BlueHotDog / sails-migrations

The missing, migrations, arm of the octopus
MIT License
157 stars 36 forks source link

fix sails-migration generate command error when using sails version 1.0 #86

Open suyuan1203 opened 6 years ago

suyuan1203 commented 6 years ago

The current version checks sails version explicitly, and it only checks versions under 1.0.

Here version 1.0 is added.

This patch is only to solve the issue with "generate" command. Not sure if this is enough to use sails-migration with sails 1.0.

Hopefully that is the only hard code version checking in the code.