-
-
Notifications
You must be signed in to change notification settings - Fork 521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does -c option works well #6
Comments
the config file with -c adds to the sequelize connection object. I forked this repo and am currently requesting a pull. You can use the -a tag or put it in the -c file under the object here is an example of the config file. {
"aditional" :{
"timestamps": false,
"freezeTableName": true
}
} then just use -c or --config to point at the file containing this json. NOTE this has not been merged into master and is thus subject to major change. i wouldn't depend on this in production. |
Any plans to merge this in? Thx for the hard work |
I modified the source code in npm install path;
/lib/index.js line 143
it works! ^_^ |
i would love to merge it in. just need to sit down and figure out why they are rejecting it. |
It's been merged, closing this comment thanks @from-nibly ! |
Hello guys,
I'm just curious how can I set default options for every model object e.g.
{
"timestamps" : false,
"freezeTableName": true
}
I tried this as config file, but it doesn't include this information in model files
Thanks in advance
The text was updated successfully, but these errors were encountered: