-
-
Notifications
You must be signed in to change notification settings - Fork 528
Description
Hi,
I'm just starting with sequelize and sequelize CLI, so this is certainly me making silly mistakes but I'm finding using the cli and the migration tools fairly infuriating - mostly because they seem to just silently fail if something goes wrong.
I've tried on OSX and Windows and in both cases I never seem to see errors. I've seen this with migrations and with seeding and while I found the issue with migrations I can not figure out how to get a seeder to run and work.
I've reduced this to a fairly simple seed script which when invoked does this:
Brads-MacBook-Pro:portal brad$ ./node_modules/.bin/sequelize db:seed
Sequelize [Node: 0.12.5, CLI: 2.2.1, ORM: 3.14.2, sqlite3: ^3.1.1]
Loaded configuration file "config/config.json".
Using environment "development".
Using gulpfile ~/Projects/cantabilesoftware.com/portal/node_modules/sequelize-cli/lib/gulpfile.js
Starting 'db:seed'...
Finished 'db:seed' after 72 ms
== 20151127232107-createLicenseTypes: migrating =======
Brads-MacBook-Pro:portal brad$
To me, that looks like it worked - maybe, not sure. Nothing in the db though. Probably a mistake in my script but I have no way of tracking it down.
What magic am I missing to make sequelize cli tell me what's up?