sea-orm
sea-orm copied to clipboard
how can i do for date_time default value of migration
I don't know how do i add default value to type of date_time, eg:
...
.col(ColumnDef::new("op_time").date_time().default(???))
...
thanks
Hey @ringrid, welcome! Got it resolved?
@billy1624 thank you , I found your answer of sea-query question #346, I had resolved my question.
Thanks for the updates :)