Inconsistent handling of String columns #1811
Replies: 3 comments
-
This is expected and documented on that page:
|
Beta Was this translation helpful? Give feedback.
-
I that case, I think it would be very helpful to also indicate that uncertainty in the code snippets in that section of the documentation, e.g.
-->
I can make a PR if that would be welcome. |
Beta Was this translation helpful? Give feedback.
-
The heading of the section states |
Beta Was this translation helpful? Give feedback.
-
According to the documentation, a column type of
String
corresponds tovarchar(255)
. I have a migration which looks like this:When using sqlite, I get a schema like I would expect:
But when using postgres, these columns are converted to text:
Beta Was this translation helpful? Give feedback.
All reactions