-
|
In MySQL, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
I've determined the correct approach. Generally, |
Beta Was this translation helpful? Give feedback.
-
|
In MySQL, |
Beta Was this translation helpful? Give feedback.
-
|
I've determined the correct approach. Generally, |
Beta Was this translation helpful? Give feedback.
I've determined the correct approach. Generally,
.extraappends text after existing content, so order matters.sea_orm_migration::schema::datetimeis equivalent toColumnDef::new(...).datetime().not_null(), meaning any extra will be added afterNOT NULLin SQL. The proper way is:ColumnDef::new(...).timestamp().extra("(3)").not_null()so(3)will be added right after the timestamp type.