-
Notifications
You must be signed in to change notification settings - Fork 54
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
Adds custom automatic attribute names #23
Adds custom automatic attribute names #23
Conversation
Haven't gotten a chance to try this out, but the PR looks good/complete to me! |
Thanks for taking the time to implement it! Last time I looked at the relevant code I remember changes to multiple projects were necessary. I'm not sure if that's (still) the case, just putting it out here in case it helps anyone. :) |
@elad there is a matching PR in waterline: balderdashy/waterline#946 |
@devinivy I get your point, not quite sure how I should put that in practice though! I will give it a go later today or tomorrow.
Well as
I created
|
362fd9e
to
5951f9a
Compare
@devinivy I've made the changes on both pullrequests so that now this is only enforced on Now |
✔️ Awesome! Thanks a bunch @Esya |
I like this ✅ I've pulled both PRs into my machine and all unit and integration tests pass. |
Adds custom automatic attribute names
Looks good! Merged but we will need to publish |
@particlebanana what would you say is a rough timeline for publishing |
+1 to the previous comment. What's the status of this? |
I defer to @particlebanana! |
Can I use this already? |
Implements https://github.com/balderdashy/waterline/issues/754
This pull request adds a way for user to specify the attribute names they want for the automatic timestamp attributes, example :
This way it will add the attributes
customCreatedAt
andcustomUpdatedAt
with the right automatic timestamp behaviors.