Request for MEDIUMINT Support #3536
Replies: 2 comments 1 reply
-
I'm happy to accept a PR that adds support for this specific SQL type. This shouldn't include any mapping to rust types for the reasons outlined in the closed issue. If really required such a mapping can be provided by a third party crate. |
Beta Was this translation helpful? Give feedback.
-
super cool! i imagine bit shifting could be utilized to maintain a u24/i24 datatype directly in the diesel repo. i believe the most efficient approach at the moment is to provision a third party crate such as https://crates.io/crates/ux the contributors of the ux crate have already initiated and persisted much of the brain-energy and work behind this particular subject and i am of the opinion that we should not reinvent this specific wheel |
Beta Was this translation helpful? Give feedback.
-
I have found a closed issue where it was decided that the mysql MEDIUMINT will not be supported due to there existing no 3byte datatype that would map out to being something like a u24/i24.
on attempting to print the schema from an existing database, encountering the MEDIUMINT type will panic
I request we revisit this and provide support for it
Beta Was this translation helpful? Give feedback.
All reactions