Closed pimenovoleg closed 9 years ago
I'm also running into this issue. For some reason connectionName is being passed to sails-mysql as the table name, which is sails_schema_migrations. I need to move on to some other things but will circle back to trying to diagnose this at some point this week.
@Fost Were you able to work around this issue?
right, this is due to balderdashy/waterline issues and continues bugs and breaking changes I'm to the point of thinking about switching to some other data persistence layer, it will still integrate smoothly with sails, but the migrations will be written in a different language.(say sequelize) (this is after spending about 4 days debugging waterline) how do you guys feel about that?
I've been wanting to switch off waterline for my application as well so I'm all for it.
hi guys, we've not forgotten you. still missing some tests, but feel welcome to give https://github.com/BlueHotDog/sails-migrations/tree/moving_to_knex a check
released a new version, should fix this.
Run
grunt db:create -v
//console output Running "db:setup" task
Running "db:loadConfig" task
Running "db:createVersionTable" task Verifying property migration.config exists in config...OK Creating version table Warning: Invalid connection name specified Use --force to continue.
But the Database is created.
Use Sails.js 0.10.4, sails-mysql 0.10.6