db-migrate / db-migrate/node-db-migrate
Need ability to add "ON UPDATE" and non-escaped values
- Dominant language
- JavaScript
- Stars
- 2.3k
- Forks
- 361
- PR merge metrics
- No merged PRs in 30d
Description
For TIMESTAMP data type setting the value you to CURRENT_TIMESTAMP results in the escaped string value being sent: 'CURRENT_TIMESTAMP'. The ideal way this would work is to pass along without quotes.
Secondly, I'd like to be able to add "ON UPDATE" perhaps as "OnUpdate" as API value.
-- I've been trying to add updated timestamp on record update
##
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/2699546-need-ability-to-add-on-update-and-non-escaped-values?utm_campaign=plugin&utm_content=tracker%2F73887&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F73887&utm_medium=issues&utm_source=github).
Contributor guide
Assessment
This issue has not been assessed yet.