-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Underscored createdAt and updatedAt #5846
Comments
Not currently but you could tap into the |
@particlebanana I'd like to do this too, would you be receptive to such a change? If yes, I have two ideas:
Thoughts? (I prefer the first) |
@elad I like the first one as well, just modifying |
I just started implementing this change, pull-request incoming soon. |
See @Esya's PR balderdashy/waterline-schema#23 |
Is there a way to change the default createdAt and updatedAt to created_at and updated_at while keeping the automatic behavior for updated_at? created_at could just use a defaultTo
I'm trying to use waterline with an existing database that uses underscores
The text was updated successfully, but these errors were encountered: