Skip to content
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

Sequence update not as expected when table column with an ON UPDATE CURRENT_TIMESTAMP clause #531

Open
ShineYang opened this issue Dec 19, 2023 · 1 comment

Comments

@ShineYang
Copy link

updateTime datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
The "updateTime" column can not automatically updated to the current timestamp when I use sequence update.
But everything went well with db.update(Table)

@auhouhs
Copy link

auhouhs commented Mar 8, 2024

could you share the problematic code snippet? I haven't reproduced the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants