Skip to content

default date_time for migration #974

Answered by billy1624
mohammadjavad948 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @mohammadjavad948, welcome and thanks for asking!

We're adding support for the default column expression in SeaQuery

AT the meantime, you can use the extra method as a workaround. I.e. .extra("DEFAULT NOW()")

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by billy1624
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants