Hi all, quick question, I've noticed that Date is ...
# questions
p
Hi all, quick question, I've noticed that Date is mapped to datetime in MySQL which doesn't store the fractional seconds (SS.sss), thought the type has a length that allows to store up to 6 digits e.g. datetime(3) stores 3 fractional seconds. Is there a DSL to set the length of the datetime? Thanks!
j
p
I couldn't find an example that maps to a specific type like datetime(3)
j
"DATETIME(3)" should do it. You will need to regenerate and rerun the migration.
p
you mean with sqlType: "DATETIME(3)"?
👍 1